We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 431d9f6 commit 9dfbae8Copy full SHA for 9dfbae8
snippets/csharp/System/ThreadStaticAttribute/Overview/threadsafe2a.cs
@@ -9,8 +9,8 @@ class Program
9
10
static void Main()
11
{
12
- Thread thread1 = new Thread(ProcessRequest);
13
- Thread thread2 = new Thread(ProcessRequest);
+ Thread thread1 = new(ProcessRequest);
+ Thread thread2 = new(ProcessRequest);
14
15
thread1.Start("REQ-001");
16
thread2.Start("REQ-002");
0 commit comments