What is new method in c#?
No Answer is Posted For this Question
Be the First to Post Answer
What is Dispose method in .NET?
How does bitwise work?
How many types of collections are there in c#?
How to achieve polymorphism in c#?
What is the difference between abstraction and encapsulation in c#?
Is c# difficult to learn?
What are the types of access modifiers?
What are Generics?
How do you use nullable?
What's the difference between system.string and system.text.stringbuilder classes?
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?
What is gac? How to put assembly in gac?