Click here to Skip to main content
15,868,164 members
Home / Discussions / C#
   

C#

 
AnswerRe: Which C# Book? Pin
PIEBALDconsult15-Jul-09 17:09
mvePIEBALDconsult15-Jul-09 17:09 
QuestionDynamic Types in Generics? Pin
NandoMan15-Jul-09 11:49
NandoMan15-Jul-09 11:49 
AnswerRe: Dynamic Types in Generics? Pin
Pete O'Hanlon15-Jul-09 12:05
subeditorPete O'Hanlon15-Jul-09 12:05 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan15-Jul-09 12:14
NandoMan15-Jul-09 12:14 
GeneralRe: Dynamic Types in Generics? Pin
Pete O'Hanlon15-Jul-09 12:17
subeditorPete O'Hanlon15-Jul-09 12:17 
GeneralRe: Dynamic Types in Generics? Pin
DaveyM6915-Jul-09 13:30
professionalDaveyM6915-Jul-09 13:30 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan16-Jul-09 6:34
NandoMan16-Jul-09 6:34 
AnswerRe: Dynamic Types in Generics? Pin
harold aptroot15-Jul-09 13:34
harold aptroot15-Jul-09 13:34 
What kind of expression that evaluates to a type would you have there? Something with reflection? You could probably use reflection to invoke the method with an expression of the type Type, but I'm not actually sure. Reflection can do a lot though, so why not..
edit: If all else fails, there is still the possibility to compile and run a piece of code that has been generated at runtime. But I wouldn't use that except in emergencies. It's not exactly fast, or a clean design.



GeneralRe: Dynamic Types in Generics? Pin
0x3c015-Jul-09 21:12
0x3c015-Jul-09 21:12 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan16-Jul-09 9:19
NandoMan16-Jul-09 9:19 
AnswerRe: Dynamic Types in Generics? Pin
Eslam Afifi16-Jul-09 7:13
Eslam Afifi16-Jul-09 7:13 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan16-Jul-09 9:18
NandoMan16-Jul-09 9:18 
GeneralRe: Dynamic Types in Generics? Pin
Eslam Afifi16-Jul-09 10:12
Eslam Afifi16-Jul-09 10:12 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan16-Jul-09 12:02
NandoMan16-Jul-09 12:02 
Questioncomputer share rights Pin
caiena15-Jul-09 6:54
caiena15-Jul-09 6:54 
AnswerRe: computer share rights Pin
dan!sh 15-Jul-09 7:18
professional dan!sh 15-Jul-09 7:18 
GeneralRe: computer share rights Pin
caiena15-Jul-09 8:44
caiena15-Jul-09 8:44 
QuestionSQL Table Pin
kibromg15-Jul-09 6:12
kibromg15-Jul-09 6:12 
AnswerRe: SQL Table Pin
dan!sh 15-Jul-09 6:19
professional dan!sh 15-Jul-09 6:19 
GeneralRe: SQL Table Pin
kibromg15-Jul-09 6:53
kibromg15-Jul-09 6:53 
GeneralRe: SQL Table Pin
kibromg15-Jul-09 7:01
kibromg15-Jul-09 7:01 
GeneralRe: SQL Table Pin
dan!sh 15-Jul-09 7:03
professional dan!sh 15-Jul-09 7:03 
GeneralRe: SQL Table Pin
kibromg15-Jul-09 7:15
kibromg15-Jul-09 7:15 
GeneralRe: SQL Table [modified] Pin
musefan15-Jul-09 8:08
musefan15-Jul-09 8:08 
AnswerRe: SQL Table Pin
Luc Pattyn15-Jul-09 8:24
sitebuilderLuc Pattyn15-Jul-09 8:24 

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.