What is the default boolean value in c#?
No Answer is Posted For this Question
Be the First to Post Answer
How do you name a variable in c#?
How garbage collection deals with circular references.
Are c# strings immutable?
Which property of the textbox cannot be changed at runtime?
What is a HashCode?
Explain how obfuscator works in .net
What is stringbuilder c#?
Explain the features of an abstract class in net.
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?
I have a class declared as below public class a { public void add() {} } What is the diference between a a1 =new a; and simply a a1;
What are the different types of assemblies available and their purpose?
Is string passed by reference in c#?