What is the use of constructor in c# with example?


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

Post New Answer

More C Sharp Interview Questions

What is array class in c#?

0 Answers  


What is the difference between directcast and ctype?

2 Answers   BirlaSoft, Wipro,


What is serialization of data?

0 Answers  


Explain about multithreading?

0 Answers  


What is the difference between readkey and readline in c#?

0 Answers  






What?s the implicit name of the parameter that gets passed into the class? set method?

1 Answers  


What is regex replace in c#?

0 Answers  


What is difference between virtual and override in c#?

0 Answers  


What are the access allowed for compilation units(namespace),class and structs and what are its default access?

1 Answers   TCS,


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  


What is the namespace for the thread class?

0 Answers  


What is the advantage of extension method in c#?

0 Answers  


Categories