What are variables in c#?
No Answer is Posted For this Question
Be the First to Post Answer
Describe ways of cleaning up objects.
Hi!!! my question is how we can apply or do Themes in C#.NET? please any sample or website from where i can get the answer.
What are tuples c#?
Explain About friend and Protected friend
What is the use of tuple in c#?
How many bytes is an int in c#?
Can a constructor have a return type?
What is list array in c#?
Can you declare the override method static while the original method is non-static?
What are collections in c#?
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?
How can you clean up objects holding resources from within the code?