Click here to Skip to main content
15,887,326 members
Home / Discussions / C#
   

C#

 
Questionchecking an object is compatible with another object Pin
Mike Bentzen24-Jun-08 17:23
Mike Bentzen24-Jun-08 17:23 
AnswerRe: checking an object is compatible with another object Pin
Karthik Kalyanasundaram24-Jun-08 18:22
Karthik Kalyanasundaram24-Jun-08 18:22 
AnswerRe: checking an object is compatible with another object Pin
Christian Graus24-Jun-08 18:23
protectorChristian Graus24-Jun-08 18:23 
QuestionRe: checking an object is compatible with another object Pin
Mike Bentzen24-Jun-08 19:04
Mike Bentzen24-Jun-08 19:04 
AnswerRe: checking an object is compatible with another object Pin
Christian Graus24-Jun-08 19:07
protectorChristian Graus24-Jun-08 19:07 
GeneralRe: checking an object is compatible with another object Pin
Mike Bentzen24-Jun-08 19:25
Mike Bentzen24-Jun-08 19:25 
GeneralRe: checking an object is compatible with another object Pin
Christian Graus24-Jun-08 19:31
protectorChristian Graus24-Jun-08 19:31 
GeneralRe: checking an object is compatible with another object Pin
Mike Bentzen24-Jun-08 19:46
Mike Bentzen24-Jun-08 19:46 
wow, I didn't know how that worked. Now I'll have to go and do some more indepth reading on Generics.

Just another question on comparing types. How do enums fit into the picture? Is enum a type?
Can I compare a string to an enum (using the method above (using is keyword)), or one of the values in the enumto see if it can be converted?
GeneralRe: checking an object is compatible with another object Pin
Christian Graus24-Jun-08 19:57
protectorChristian Graus24-Jun-08 19:57 
GeneralRe: checking an object is compatible with another object Pin
Mike Bentzen24-Jun-08 20:05
Mike Bentzen24-Jun-08 20:05 
GeneralRe: checking an object is compatible with another object Pin
Christian Graus24-Jun-08 20:10
protectorChristian Graus24-Jun-08 20:10 
AnswerRe: checking an object is compatible with another object Pin
leppie24-Jun-08 22:30
leppie24-Jun-08 22:30 
AnswerRe: checking an object is compatible with another object Pin
PIEBALDconsult25-Jun-08 4:40
mvePIEBALDconsult25-Jun-08 4:40 
Questionforeach statement Pin
twistz24-Jun-08 16:12
twistz24-Jun-08 16:12 
AnswerRe: foreach statement Pin
Christian Graus24-Jun-08 16:16
protectorChristian Graus24-Jun-08 16:16 
GeneralRe: foreach statement Pin
twistz24-Jun-08 21:03
twistz24-Jun-08 21:03 
GeneralRe: foreach statement Pin
Christian Graus24-Jun-08 21:09
protectorChristian Graus24-Jun-08 21:09 
AnswerRe: foreach statement Pin
Mohammad Dayyan24-Jun-08 16:19
Mohammad Dayyan24-Jun-08 16:19 
GeneralRe: foreach statement Pin
PIEBALDconsult24-Jun-08 16:33
mvePIEBALDconsult24-Jun-08 16:33 
GeneralRe: foreach statement Pin
Ashfield24-Jun-08 21:19
Ashfield24-Jun-08 21:19 
GeneralRe: foreach statement Pin
Guffa24-Jun-08 21:59
Guffa24-Jun-08 21:59 
QuestionHow to transfer a custom struct pointer to DLL's function? Pin
samfromcn24-Jun-08 15:24
samfromcn24-Jun-08 15:24 
AnswerRe: How to transfer a custom struct pointer to DLL's function? Pin
mav.northwind24-Jun-08 19:14
mav.northwind24-Jun-08 19:14 
GeneralRe: How to transfer a custom struct pointer to DLL's function? Pin
samfromcn24-Jun-08 20:19
samfromcn24-Jun-08 20:19 
QuestionAttributes and there constructors... Pin
Paw Jershauge24-Jun-08 12:04
Paw Jershauge24-Jun-08 12:04 

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.