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
Is .net 4.8 backwards compatible?
What are the different types of memory in .net?
What are an object and a class?
what is the keyword used for self reference?
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 a design pattern and what is it for?
How ccw (com callable wrapper) and rcw (runtime callable wrappers) works?
How anonymous method is different from a lambda expression?
What is the difference between reference type and value type?
Explain the difference between public and static modifiers?
What is jit compilers?
Explain the difference between the while and for loop.
Difference between machine.config and web.config?
If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
What is manifest in .net?