Since we are currently on the subject of multi-threading in a different
thread, I have a question about delegates.
When I use delegates, I just create one for each different parameter set
that I need.
For example:
delegate void callBackString( string d_string);
delegate void callBackStringA rray(string[] d_string);
delegate void callBackInt(int d_int);
delegate void callBackSB(stri ng d_string, bool d_bool);
....And then I just reuse them when and where I need them.
Is this the proper way to use delegates?
I'm highly interested in the most efficient way if this isn't it.
Thanks
--
Roger Frost
"Logic Is Syntax Independent"
thread, I have a question about delegates.
When I use delegates, I just create one for each different parameter set
that I need.
For example:
delegate void callBackString( string d_string);
delegate void callBackStringA rray(string[] d_string);
delegate void callBackInt(int d_int);
delegate void callBackSB(stri ng d_string, bool d_bool);
....And then I just reuse them when and where I need them.
Is this the proper way to use delegates?
I'm highly interested in the most efficient way if this isn't it.
Thanks
--
Roger Frost
"Logic Is Syntax Independent"
Comment