What is the default boolean value in c#?


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

Post New Answer

More C Sharp Interview Questions

How do you name a variable in c#?

0 Answers  


How garbage collection deals with circular references.

0 Answers  


Are c# strings immutable?

0 Answers  


Which property of the textbox cannot be changed at runtime?

0 Answers  


What is a HashCode?

1 Answers  






Explain how obfuscator works in .net

0 Answers  


What is stringbuilder c#?

0 Answers  


Explain the features of an abstract class in net.

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  


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;

3 Answers  


What are the different types of assemblies available and their purpose?

0 Answers  


Is string passed by reference in c#?

0 Answers  


Categories