What is default value of enum c#?
Answer / Bhagat Singh
In C#, when an Enum type is declared without any explicit initial values, it automatically gets assigned integer values starting from 0. For example: 'EnumType { Value1, Value2 }' will have 'Value1' with a value of 0 and 'Value2' with a value of 1.
| Is This Answer Correct ? | 0 Yes | 0 No |
When should you use generics?
What is different between Boxing and Unboxing?
What is an inheritance ?Give an example in which inheritance is used?
What is dataset and dataadapter in c#?
Is goto statement supported in C#? How about Java?
Explain About Postback
What is tuple in c#?
What is an escape sequence in c#?
What's the difference between abstraction and encapsulation?
Explain when should you call the garbage collector in .net?
What is the execution entry point for a c# console application?
What is parallel foreach in c#?
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)