Click here to Skip to main content
15,849,032 members
Home / Discussions / C#
   

C#

 
AnswerRe: Which C# Book? Pin
PIEBALDconsult15-Jul-09 18:09
mvePIEBALDconsult15-Jul-09 18:09 
QuestionDynamic Types in Generics? Pin
NandoMan15-Jul-09 12:49
NandoMan15-Jul-09 12:49 
AnswerRe: Dynamic Types in Generics? Pin
Pete O'Hanlon15-Jul-09 13:05
subeditorPete O'Hanlon15-Jul-09 13:05 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan15-Jul-09 13:14
NandoMan15-Jul-09 13:14 
GeneralRe: Dynamic Types in Generics? Pin
Pete O'Hanlon15-Jul-09 13:17
subeditorPete O'Hanlon15-Jul-09 13:17 
GeneralRe: Dynamic Types in Generics? Pin
DaveyM6915-Jul-09 14:30
professionalDaveyM6915-Jul-09 14:30 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan16-Jul-09 7:34
NandoMan16-Jul-09 7:34 
AnswerRe: Dynamic Types in Generics? Pin
harold aptroot15-Jul-09 14:34
harold aptroot15-Jul-09 14: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 22:12
0x3c015-Jul-09 22:12 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan16-Jul-09 10:19
NandoMan16-Jul-09 10:19 
AnswerRe: Dynamic Types in Generics? Pin
Eslam Afifi16-Jul-09 8:13
Eslam Afifi16-Jul-09 8:13 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan16-Jul-09 10:18
NandoMan16-Jul-09 10:18 
GeneralRe: Dynamic Types in Generics? Pin
Eslam Afifi16-Jul-09 11:12
Eslam Afifi16-Jul-09 11:12 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan16-Jul-09 13:02
NandoMan16-Jul-09 13:02 
Questioncomputer share rights Pin
caiena15-Jul-09 7:54
caiena15-Jul-09 7:54 
AnswerRe: computer share rights Pin
dan!sh 15-Jul-09 8:18
professional dan!sh 15-Jul-09 8:18 
GeneralRe: computer share rights Pin
caiena15-Jul-09 9:44
caiena15-Jul-09 9:44 
QuestionSQL Table Pin
kibromg15-Jul-09 7:12
kibromg15-Jul-09 7:12 
AnswerRe: SQL Table Pin
dan!sh 15-Jul-09 7:19
professional dan!sh 15-Jul-09 7:19 
GeneralRe: SQL Table Pin
kibromg15-Jul-09 7:53
kibromg15-Jul-09 7:53 
GeneralRe: SQL Table Pin
kibromg15-Jul-09 8:01
kibromg15-Jul-09 8:01 
GeneralRe: SQL Table Pin
dan!sh 15-Jul-09 8:03
professional dan!sh 15-Jul-09 8:03 
GeneralRe: SQL Table Pin
kibromg15-Jul-09 8:15
kibromg15-Jul-09 8:15 
GeneralRe: SQL Table [modified] Pin
musefan15-Jul-09 9:08
musefan15-Jul-09 9:08 
AnswerRe: SQL Table Pin
Luc Pattyn15-Jul-09 9:24
sitebuilderLuc Pattyn15-Jul-09 9: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.