How do you create threading in .NET? What is the namespace
for that?
Answer Posted / kinjal
for threading namespace in .NET is
using System.Treading
static void Main(string[] args)
{
Thread.currenttread.name="k";
Console.WriteLine("name is {0}" , Thread.currentthread.name)
}
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Can you write a class without specifying namespace?
One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid this problem?
Explain about .NET services?
Give a brief introduction on side-by-side execution. Can two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executables?
What is the difference between function and stored procedure?
How to customize the trace output?
What is difference between .net core and .net standard?
What is .net assembly?
What is the difference between vb.net and vc#.net?
What is Entity Relationship Model in .NET?
What's a windows process in .net?
How do you turn off cookies for one page in your site? Give an example.
Differentiate between 'DataSet' and 'SQLDataReader' in ADO.NET?
How many types of generations are there in a garbage collector?
Difference between machine.config and web.config?