Error in online documentation (ThreadsBeginnersGuide)
Marcel Buchholz <[email protected]> Thu, 19 Aug 2010 15:48:03 +0200
| Newsgroups | gmane.comp.gnome.mono.documentation |
|---|---|
| Message-ID | <[email protected]> |
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
_______________________________________________
Mono-docs-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-docs-list