Click here to Skip to main content
15,922,696 members
Home / Discussions / C#
   

C#

 
AnswerRe: Cast Action to Action Pin
Eddy Vluggen30-Mar-11 22:06
professionalEddy Vluggen30-Mar-11 22:06 
GeneralRe: Cast Action to Action Pin
Adriaan Davel30-Mar-11 22:32
Adriaan Davel30-Mar-11 22:32 
GeneralRe: Cast Action to Action Pin
Wayne Gaylard30-Mar-11 22:37
professionalWayne Gaylard30-Mar-11 22:37 
GeneralRe: Cast Action to Action Pin
Eddy Vluggen30-Mar-11 22:44
professionalEddy Vluggen30-Mar-11 22:44 
GeneralRe: Cast Action to Action Pin
Adriaan Davel30-Mar-11 22:49
Adriaan Davel30-Mar-11 22:49 
GeneralRe: Cast Action to Action Pin
Eddy Vluggen30-Mar-11 22:55
professionalEddy Vluggen30-Mar-11 22:55 
GeneralRe: Cast Action to Action Pin
Adriaan Davel30-Mar-11 23:02
Adriaan Davel30-Mar-11 23:02 
GeneralRe: Cast Action to Action Pin
Eddy Vluggen30-Mar-11 23:19
professionalEddy Vluggen30-Mar-11 23:19 
..because you can check what type of object that it is. That's what VS does at compile-time, and since an integer isn't an object it gives an error. It could be wrapped in an object, that's true - but if that's what should be done, then it has to be explicit. Remember that you can't inherit from an integer, so it does make sense to differentiate between the parameter-behaviour and the generics' behaviour Smile | :)
I are Troll Suspicious | :suss:

GeneralRe: Cast Action to Action Pin
PIEBALDconsult31-Mar-11 2:57
mvePIEBALDconsult31-Mar-11 2:57 
GeneralRe: Cast Action to Action Pin
Eddy Vluggen31-Mar-11 3:05
professionalEddy Vluggen31-Mar-11 3:05 
GeneralRe: Cast Action to Action Pin
J4amieC31-Mar-11 3:38
J4amieC31-Mar-11 3:38 
GeneralRe: Cast Action to Action Pin
Eddy Vluggen31-Mar-11 3:45
professionalEddy Vluggen31-Mar-11 3:45 
GeneralRe: Cast Action to Action Pin
J4amieC31-Mar-11 5:46
J4amieC31-Mar-11 5:46 
GeneralRe: Cast Action to Action Pin
Eddy Vluggen31-Mar-11 7:00
professionalEddy Vluggen31-Mar-11 7:00 
GeneralRe: Cast Action to Action Pin
PIEBALDconsult31-Mar-11 15:00
mvePIEBALDconsult31-Mar-11 15:00 
AnswerRe: Cast Action to Action Pin
Pete O'Hanlon30-Mar-11 22:34
mvePete O'Hanlon30-Mar-11 22:34 
GeneralRe: Cast Action to Action Pin
Adriaan Davel30-Mar-11 22:46
Adriaan Davel30-Mar-11 22:46 
GeneralRe: Cast Action to Action Pin
Pete O'Hanlon30-Mar-11 23:21
mvePete O'Hanlon30-Mar-11 23:21 
GeneralRe: Cast Action to Action Pin
Adriaan Davel30-Mar-11 23:52
Adriaan Davel30-Mar-11 23:52 
GeneralRe: Cast Action to Action Pin
Eddy Vluggen31-Mar-11 0:03
professionalEddy Vluggen31-Mar-11 0:03 
GeneralRe: Cast Action to Action Pin
RobCroll31-Mar-11 2:32
RobCroll31-Mar-11 2:32 
AnswerRe: Cast Action to Action Pin
J4amieC30-Mar-11 23:22
J4amieC30-Mar-11 23:22 
AnswerRe: Cast Action to Action Pin
BobJanova30-Mar-11 23:28
BobJanova30-Mar-11 23:28 
AnswerRe: Cast Action to Action Pin
Rob Philpott31-Mar-11 1:39
Rob Philpott31-Mar-11 1:39 
GeneralRe: Cast Action to Action Pin
PIEBALDconsult31-Mar-11 2:59
mvePIEBALDconsult31-Mar-11 2:59 

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.