What is the use of "default" and "Using" keyword?

Answer Posted / kamil

If expression does not match any constant-expression, control is transferred to
the statement(s) that follow the optional default label. If there is no default
label, control is transferred outside the switch.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is check/uncheck?

799


Why do we overload constructors?

677


What is difference between Enum and Struct?

740


What is difference between destructor and finalize?

614


What is collection class c#?

683


What is decimal in c#?

666


What is default value of enum c#?

648


What is sqladapter c#?

723


What is lambda expression in c#?

689


Explain the difference between boxing and unboxing.

738


What is boolean method?

699


What is variable and its classification?

702


Which is faster iqueryable or ienumerable?

742


What is array and its types in c#?

693


How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!

1859