Click here to Skip to main content
15,919,422 members
Home / Discussions / C#
   

C#

 
GeneralRe: Delegates Pin
harold aptroot25-Feb-10 6:51
harold aptroot25-Feb-10 6:51 
AnswerRe: Delegates Pin
Som Shekhar25-Feb-10 5:45
Som Shekhar25-Feb-10 5:45 
AnswerRe: Delegates Pin
PIEBALDconsult25-Feb-10 6:21
mvePIEBALDconsult25-Feb-10 6:21 
AnswerRe: Delegates Pin
AspDotNetDev25-Feb-10 10:39
protectorAspDotNetDev25-Feb-10 10:39 
GeneralRe: Delegates Pin
Dave Kreskowiak25-Feb-10 11:01
mveDave Kreskowiak25-Feb-10 11:01 
GeneralRe: Delegates Pin
AspDotNetDev25-Feb-10 11:10
protectorAspDotNetDev25-Feb-10 11:10 
GeneralRe: Delegates Pin
DaveyM6925-Feb-10 14:02
professionalDaveyM6925-Feb-10 14:02 
GeneralRe: Delegates Pin
AspDotNetDev25-Feb-10 14:25
protectorAspDotNetDev25-Feb-10 14:25 
DaveyM69 wrote:
Incorrect, they can use any of the normal access modifiers


Dang, I'm off my game today. Thanks for the correction.

DaveyM69 wrote:
As you've already discovered below, also incorrect... the can have any signature and even a return type!


Yeah, I think this is what threw me off:
Finally, even though C# allows it, the .NET framework adds a restriction on the signature of delegates that can be used as events. The signature should be foo(object source, EventArgs e), where source is the object that fired the event and e contains any additional information about the event.

QuestionCrystal Report - Problem in printing Pin
sachees12325-Feb-10 2:15
sachees12325-Feb-10 2:15 
AnswerRe: Crystal Report - Problem in printing Pin
Saksida Bojan25-Feb-10 3:37
Saksida Bojan25-Feb-10 3:37 
QuestionAsccessing secure web services using server certificate in winCE Pin
fatima.hashmi25-Feb-10 2:15
fatima.hashmi25-Feb-10 2:15 
QuestionByte Conversion Pin
spankyleo12324-Feb-10 23:53
spankyleo12324-Feb-10 23:53 
AnswerRe: Byte Conversion Pin
#realJSOP25-Feb-10 0:16
professional#realJSOP25-Feb-10 0:16 
GeneralRe: Byte Conversion Pin
spankyleo12325-Feb-10 0:24
spankyleo12325-Feb-10 0:24 
GeneralRe: Byte Conversion Pin
The Man from U.N.C.L.E.25-Feb-10 4:12
The Man from U.N.C.L.E.25-Feb-10 4:12 
GeneralRe: Byte Conversion Pin
harold aptroot25-Feb-10 4:16
harold aptroot25-Feb-10 4:16 
GeneralRe: Byte Conversion Pin
The Man from U.N.C.L.E.25-Feb-10 8:13
The Man from U.N.C.L.E.25-Feb-10 8:13 
GeneralRe: Byte Conversion Pin
spankyleo12325-Feb-10 4:25
spankyleo12325-Feb-10 4:25 
GeneralRe: Byte Conversion Pin
spankyleo12325-Feb-10 4:37
spankyleo12325-Feb-10 4:37 
GeneralRe: Byte Conversion Pin
Saksida Bojan25-Feb-10 4:55
Saksida Bojan25-Feb-10 4:55 
GeneralRe: Byte Conversion Pin
spankyleo12325-Feb-10 4:59
spankyleo12325-Feb-10 4:59 
GeneralRe: Byte Conversion Pin
Richard MacCutchan25-Feb-10 5:15
mveRichard MacCutchan25-Feb-10 5:15 
QuestionWinforms Listview - Looking For Decent *Free* Control Pin
#realJSOP24-Feb-10 23:27
professional#realJSOP24-Feb-10 23:27 
AnswerRe: Winforms Listview - Looking For Decent *Free* Control PinPopular
Saksida Bojan25-Feb-10 0:02
Saksida Bojan25-Feb-10 0:02 
GeneralRe: Winforms Listview - Looking For Decent *Free* Control Pin
#realJSOP25-Feb-10 0:12
professional#realJSOP25-Feb-10 0:12 

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.