Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Creating and Using Threads | Threading
Advanced C# with .NET

bookCreating and Using Threads

Important Points:

  • We use the Thread class to create a new thread;
  • In order to pass a parameterless method into the thread class, we encapsulate it into a ThreadStart object.
  • A method with parameters can be executed by passing it into the Tread class after encapsulating it into a ParameterizedThreadStart object.

1. What constructor or method is used for creating a new method?

2. Which Thread constructor accepts a method with no parameters?

3. Which Thread constructor accepts a method with parameters?

question mark

What constructor or method is used for creating a new method?

Select the correct answer

question mark

Which Thread constructor accepts a method with no parameters?

Select the correct answer

question mark

Which Thread constructor accepts a method with parameters?

Select the correct answer

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 3. Hoofdstuk 2

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

Awesome!

Completion rate improved to 3.7

bookCreating and Using Threads

Veeg om het menu te tonen

Important Points:

  • We use the Thread class to create a new thread;
  • In order to pass a parameterless method into the thread class, we encapsulate it into a ThreadStart object.
  • A method with parameters can be executed by passing it into the Tread class after encapsulating it into a ParameterizedThreadStart object.

1. What constructor or method is used for creating a new method?

2. Which Thread constructor accepts a method with no parameters?

3. Which Thread constructor accepts a method with parameters?

question mark

What constructor or method is used for creating a new method?

Select the correct answer

question mark

Which Thread constructor accepts a method with no parameters?

Select the correct answer

question mark

Which Thread constructor accepts a method with parameters?

Select the correct answer

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 3. Hoofdstuk 2
some-alt