What is the purpose of constructor in c#?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

What is a web service in c#?

0 Answers  


Can class be protected in c#?

0 Answers  


Explain about c# language.

0 Answers  


What are escape sequences explain with example?

0 Answers  


What is collection of classes in c#?

0 Answers  






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.

1 Answers  


What is difference between dll and exe in c#?

0 Answers  


What are properties and indexer?

1 Answers   TCS,


What is a hashset c#?

0 Answers  


can you overload a method of class A in Class B if it is derived class of A?If it is yes tell me how is it possible?

4 Answers   Mphasis, Ness Technologies,


What is Named parameter in C#?

0 Answers  


Wcf and what is difference between wcf and web services?

0 Answers  


Categories