How do you create threading in .NET?

How do you create threading in .NET?is it possible!!!!!!!!!!!!!!!!!!1

Yes it is.Thread basics using followings:

How to Create thread; use System.Thread() class and create an instance.

How to Join thread; use object.Join() to join threads.

How to Suspend thread; use object.Sleep(<No of seconds>) to Suspend thread.

How to Kill thread; use object.Abort() to Suspend thread.

Using Interlocked class which uses Increment and decrement method to increment and decrement values.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.