Is xml tags are case sensitive?
No Answer is Posted For this Question
Be the First to Post Answer
how many catch we can write in thye program?
syntax for writing private method in a interface
What is multithreading with .net?
What is the use of tuple in c#?
What is console readkey in vb net?
What are access modifiers in c#?
What is managed or unmanaged code?
What?s the advantage of using System.Text.StringBuilder over System.String?
What is difference between float and decimal?
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?
Can a class or a struct have multiple constructors?
If you donot specify an access modifier for a method, what is the default access modifier?