Why do we need constructors?


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

Post New Answer

More C Sharp Interview Questions

What is c# in asp net?

0 Answers  


What is the C# syntax to catch any possible exception?

0 Answers   Siebel,


Can properties be overloaded in c#?

0 Answers  


What is executenonquery c#?

0 Answers  


Explain the difference between private and shared assembly?

0 Answers  






Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

0 Answers  


Can I call a virtual method from a constructor/destructor?

0 Answers  


What is type keyword in c#?

0 Answers  


example of uniary operators and binary operators

0 Answers  


1.write a program in C# to find a given point which is inside in a circle. Given circle's radius and its center point? 2.Write a program in C# to generated 20 prime numbers greater than a given number? (It should be more efficient for large numbers also) 3. Write a Code to check whether a given point is inside a circle or not? given Circle's raduis and its center point. 4. using oops concept, design an elevator do not forget buttons on each floor..

2 Answers  


What is the best dependency injection c#?

0 Answers  


What is the system namespace?

0 Answers  


Categories