Click here to Skip to main content
15,908,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Question with Generics Pin
malharone27-Feb-07 13:48
malharone27-Feb-07 13:48 
GeneralRe: C# Question with Generics Pin
mike montagne27-Feb-07 13:47
mike montagne27-Feb-07 13:47 
GeneralRe: C# Question with Generics Pin
malharone27-Feb-07 14:01
malharone27-Feb-07 14:01 
GeneralRe: C# Question with Generics Pin
mike montagne27-Feb-07 19:24
mike montagne27-Feb-07 19:24 
GeneralRe: C# Question with Generics Pin
mike montagne28-Feb-07 6:25
mike montagne28-Feb-07 6:25 
GeneralRe: C# Question with Generics Pin
mike montagne28-Feb-07 7:06
mike montagne28-Feb-07 7:06 
GeneralRe: C# Question with Generics Pin
mike montagne28-Feb-07 7:09
mike montagne28-Feb-07 7:09 
GeneralRe: C# Question with Generics Pin
mike montagne28-Feb-07 8:14
mike montagne28-Feb-07 8:14 
malharone wrote:
But there are cases when from you non-generic class, you want to call a generic method and all you want do is to pass the "current type" and not any other type.


Whenever you need to do this, this is the way to write your call:

( CurrentType )InstanceReference.Method( args )

AnswerRe: C# Question with Generics Pin
Colin Angus Mackay21-Feb-07 22:09
Colin Angus Mackay21-Feb-07 22:09 
GeneralRe: C# Question with Generics Pin
malharone22-Feb-07 7:03
malharone22-Feb-07 7:03 
AnswerRe: C# Question with Generics Pin
darkelv22-Feb-07 0:42
darkelv22-Feb-07 0:42 
GeneralRe: C# Question with Generics Pin
malharone22-Feb-07 7:49
malharone22-Feb-07 7:49 
GeneralRe: C# Question with Generics Pin
malharone27-Feb-07 11:13
malharone27-Feb-07 11:13 
QuestionStart reading at the end of a file? Pin
TheJudeDude21-Feb-07 14:05
TheJudeDude21-Feb-07 14:05 
AnswerRe: Start reading at the end of a file? Pin
Shajeel21-Feb-07 18:54
Shajeel21-Feb-07 18:54 
GeneralRe: Start reading at the end of a file? Pin
TheJudeDude22-Feb-07 3:31
TheJudeDude22-Feb-07 3:31 
GeneralRe: Start reading at the end of a file? Pin
Luc Pattyn22-Feb-07 8:08
sitebuilderLuc Pattyn22-Feb-07 8:08 
QuestionISerializable.GetObjectData Method Example Pin
Gywox21-Feb-07 11:53
Gywox21-Feb-07 11:53 
AnswerThats a lot of code Pin
Ennis Ray Lynch, Jr.21-Feb-07 12:48
Ennis Ray Lynch, Jr.21-Feb-07 12:48 
GeneralRe: Thats a lot of code Pin
Gywox21-Feb-07 23:23
Gywox21-Feb-07 23:23 
GeneralRe: Thats a lot of code Pin
Ennis Ray Lynch, Jr.22-Feb-07 2:45
Ennis Ray Lynch, Jr.22-Feb-07 2:45 
Questionmodal popup Pin
netJP12L21-Feb-07 10:08
netJP12L21-Feb-07 10:08 
QuestionChanging the Size of a Panel [modified] Pin
aei_totten21-Feb-07 9:23
aei_totten21-Feb-07 9:23 
AnswerRe: Changing the Size of a Panel Pin
Luc Pattyn21-Feb-07 10:53
sitebuilderLuc Pattyn21-Feb-07 10:53 
QuestionVisual Studio 2003 and Crystal Report Viewer Pin
Saamir21-Feb-07 9:07
Saamir21-Feb-07 9:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.