What is new method 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 Dispose method in .NET?

3 Answers  


How does bitwise work?

0 Answers  


How many types of collections are there in c#?

0 Answers  


How to achieve polymorphism in c#?

0 Answers  


What is the difference between abstraction and encapsulation in c#?

0 Answers  






Is c# difficult to learn?

0 Answers  


What are the types of access modifiers?

0 Answers  


What are Generics?

5 Answers   TCS,


How do you use nullable?

0 Answers  


What's the difference between system.string and system.text.stringbuilder classes?

0 Answers  


i have a question which is quite simple but yet complicated for me my question is why do we use void, if it does not return anything to the compiler? if it is used for normal display it can also be done by what is called Console.Write() or Consol.WriteLine() and if i do not use void with my method then my compiler throws me an error. if i return a value say integer then i write public int fun() display of the result can also be done here then why is it so necessary to use void with a function and why so compiler throw us an error if v don't use void return type?

2 Answers  


What is gac? How to put assembly in gac?

0 Answers  


Categories