dotnet / dotnet/dotnet-api-docs
Incorrect block of code for ParameterizedThreadStart docs.
Open
area-System.Threading
Pri3
untriaged
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
The docs [mentions](https://github.com/dotnet/dotnet-api-docs/blob/fa5a043dafd135240958e116adaf6980f8ba799c/xml/System.Threading/Thread.xml#L121
) the following:
> The following example is identical to the previous one, except that it calls the Thread(ParameterizedThreadStart) constructor.
However, in the code block, this is what's happening:
```
var th = new Thread(ExecuteInForeground);
```
Contributor guide
Assessment
This issue has not been assessed yet.