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


Please Help Members By Posting Answers For Below Questions

Is .net 4.8 backwards compatible?

635


What are the different types of memory in .net?

709


What are an object and a class?

645


what is the keyword used for self reference?

2023


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?

610






What is a design pattern and what is it for?

648


How ccw (com callable wrapper) and rcw (runtime callable wrappers) works?

663


How anonymous method is different from a lambda expression?

617


What is the difference between reference type and value type?

593


Explain the difference between public and static modifiers?

671


What is jit compilers?

654


Explain the difference between the while and for loop.

663


Difference between machine.config and web.config?

646


If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

1689


What is manifest in .net?

717