Method1()
{
int a=0, b=0, c=0;
Monitor.Enter(this)
c = 12;
b = 3;
a = c/b
Moniter.Exit(this)
}
Method1()
{
int a=0, b=0, c=0;
c = 12;
b = 3;
lock(this){
a = c/b
}
}
Choose correct answer.
a. Upon completion, Method1 and Method2 release the lock
b. Upon Comletion, Method1 release the lcok and Method2 not.
c. Upon Completion, Method2 release the lock and Method1
not.
d. Upon Completion, neither Method1 or Method to release
the lock.
What is multithreading? What are the problems that comes with multithreading and how to manage them?
If I have code like try { return; } catch { return; } finally { return; } from which block will the value will be returned. and try has been executed without any error.
State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?
What are satellite assemblies? How will you get the different language strings?
What is yield in c#?
What is a dictionary in c#?
What is InterFace???
Explain the types of Polymorphism.
What is routing in c#?
Distinguish between a class and struct?
What is a di class?
Describe the overview of clr integration.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)