Write the sample code for threading in c# .net..
Answer Posted / sivakumar v
Static Void Run()
{
Console.WriteLine("Thread Is Running");
}
static void Main()
{
Thread TrdObj=new Thread(Run);//create the obj
TrdObj.start();
}
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the meaning of MSIL?
What is using directive in c#?
How to rotate an Image in C#?
How do you pass reference parameters in c#?
what is partial assembly reference
Is c# slower than java?
What is difference between struct and class in c#?
What are scriptable objects?
These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.
How do you concatenate in c#?
What is inner class in c#?
What is the difference between method and function in c#?
How can I make sure my c# classes will interoperate with other .net languages?
Define mutex in C#?
How big is an int16?