[Mono-docs-list] Error in online documentation (ThreadsBeginnersGuide)
Marcel Buchholz
marcel.buchholz at googlemail.com
Thu Aug 19 09:48:03 EDT 2010
Hi,
I have just found an error in the online documentation about Threading
(http://www.mono-project.com/ThreadsBeginnersGuide):
In the example code for "Passing Parameters to Threads" with .Net 2.0,
Thread myThread = new Thread (delegate (object myValue){
Thread.Sleep (1000);
Console.WriteLine (String.Format ("The parameter have" +
" a {0} in it's value",
myValue));
}
should be:
Thread myThread = new Thread (delegate (object myValue){
Thread.Sleep (1000);
Console.WriteLine (String.Format ("The parameter have" +
" a {0} in it's value",
myValue));
});
- adding ");" to the last line.
Best regards,
Marcel Buchholz
More information about the Mono-docs-list
mailing list