class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } what will happen & why?
2 5074Method1() { 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.
1 3730interface a { Method1() Method2() } class b: a { override Method1() override Method2() } what will happen & why?
5 8211what is diffrence between protected ,internal and protected internal?? whether protected field available in derived class which is outside the assembly. if not ..this is possible by which access modifiers??
2 4559Can we have private constructor in our class file. When we are trying to create instance for the class will it create or throw error regarding that?
5 8476I have to create a windows application using C# .net to Modifiy the XML file. The application have to show the node and node value. plz help me.
3 11185How can i load the text box and label at the runtime based on the existing text box and tabel
2 5647i am using windows authentication for c#.net remoting with iis.I uncheck the anonymous access option in directory security.when my client requests the server it returns 401:unauthorized error.How can I resolve the exception ? Please send me the reply as early as possible.
1 5177
I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.
What is delegate in c#?
For read-only operation which property you have to designated?
What is data annotation in c#?
What does the parsefloat function do?
What is interpolation in programming?
What is Assembly. and Describe type of assembly. why most developer happy with private assembly.
What are verbatim strings in c#?
Is datetime immutable c#?
Does c# have functions?
Explain how obfuscator works in .net
Explain the functionalities of satellite assembly?
Explain the access modifiers in c#?
What is uint16?
Explain when should you call the garbage collector in .net?