Contenido del Curso
Advanced C# with .NET
Advanced C# with .NET
Creating 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 aParameterizedThreadStart
object.
¡Gracias por tus comentarios!