Click here to Skip to main content
15,910,661 members
Home / Discussions / C#
   

C#

 
GeneralRe: Error handling code.. Pin
Christian Graus20-Mar-08 20:46
protectorChristian Graus20-Mar-08 20:46 
GeneralRe: Error handling code.. Pin
ptr2void20-Mar-08 20:50
ptr2void20-Mar-08 20:50 
GeneralRe: Error handling code.. Pin
Luc Pattyn21-Mar-08 1:19
sitebuilderLuc Pattyn21-Mar-08 1:19 
GeneralRe: Error handling code.. Pin
MarkB77720-Mar-08 20:53
MarkB77720-Mar-08 20:53 
Generalinserting and retrieving data from a datarow in C# Pin
salon20-Mar-08 19:36
salon20-Mar-08 19:36 
Questionhow to get index value in imagebutton gridview using .net with c# Pin
sugunavathysubramanian20-Mar-08 19:10
sugunavathysubramanian20-Mar-08 19:10 
GeneralDelegate problem Pin
MarkB77720-Mar-08 17:22
MarkB77720-Mar-08 17:22 
GeneralRe: Delegate problem Pin
Christian Graus20-Mar-08 18:54
protectorChristian Graus20-Mar-08 18:54 
MarkBrock wrote:
I would have thought that public void Test() would match up with void (object) target... I'm wrong obviously...


Yeah, obviously. How is a method that takes no parameters, the same as one that does take one ?

You can start a thread with a ThreadStart delegate ( which has no params ) or a ParameterizedThreadStart delegate ( which will take an object ) I'd say the other overload is kicking in in your second snippet.

Christian Graus - Microsoft MVP - C++

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Delegate problem Pin
MarkB77720-Mar-08 19:41
MarkB77720-Mar-08 19:41 
GeneralRe: Delegate problem Pin
Christian Graus20-Mar-08 20:48
protectorChristian Graus20-Mar-08 20:48 
GeneralGeneric Collections and Interfaces (Returning a collection of interfaces) Pin
dfa_geko20-Mar-08 17:05
dfa_geko20-Mar-08 17:05 
GeneralRe: Generic Collections and Interfaces (Returning a collection of interfaces) Pin
Steve Echols20-Mar-08 19:04
Steve Echols20-Mar-08 19:04 
Generalthread priority Pin
George_George20-Mar-08 16:29
George_George20-Mar-08 16:29 
GeneralRe: thread priority Pin
Paul Conrad21-Mar-08 8:11
professionalPaul Conrad21-Mar-08 8:11 
GeneralRe: thread priority Pin
George_George21-Mar-08 21:16
George_George21-Mar-08 21:16 
GeneralRe: thread priority Pin
Paul Conrad22-Mar-08 5:23
professionalPaul Conrad22-Mar-08 5:23 
GeneralRe: thread priority Pin
George_George23-Mar-08 3:06
George_George23-Mar-08 3:06 
GeneralRe: thread priority Pin
Paul Conrad23-Mar-08 5:29
professionalPaul Conrad23-Mar-08 5:29 
GeneralRe: thread priority Pin
George_George23-Mar-08 19:37
George_George23-Mar-08 19:37 
GeneralRe: thread priority Pin
Paul Conrad24-Mar-08 4:25
professionalPaul Conrad24-Mar-08 4:25 
GeneralRe: thread priority Pin
George_George24-Mar-08 4:40
George_George24-Mar-08 4:40 
GeneralStrange stack trace Pin
Winkles20-Mar-08 15:56
Winkles20-Mar-08 15:56 
GeneralRe: Strange stack trace Pin
Guffa21-Mar-08 1:17
Guffa21-Mar-08 1:17 
GeneralRe: Strange stack trace Pin
Winkles21-Mar-08 6:21
Winkles21-Mar-08 6:21 
GeneralRe: Strange stack trace Pin
Winkles21-Mar-08 9:13
Winkles21-Mar-08 9:13 

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.