What are reflections in c#?
No Answer is Posted For this Question
Be the First to Post Answer
Can multiple catch blocks be executed?
Explain the term inheritance in C#.
0 Answers Deloitte, JPMorgan Chase,
What is iqueryable?
Can we create instance for Abstract class?
28 Answers HCL, Satyam, SoftSol, Wipro,
Explain about accessibility modifier 'protected internal'?
Explain about throw keyword?
10 Answers Emphasis, HCL, Satyam,
Can we have private constructor in our class file. When we are trying to create instance for the class will it create or throw error regarding that?
Why do we need private constructor in c#?
What is action in c# 3.5?
Explain metadata in c#.
What is visual c# 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?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)