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

Explain the difference between abstract class and interface.

600


What is difference between abstraction and encapsulation in c#?

516


Why do we need singleton pattern in c#?

487


How to add controls dynamically to the form using c#.net.

478


What is lambda expression in c#?

509






Is struct object oriented?

480


What does void mean unity?

504


what is partial assembly reference

509


Write one code example for compile time binding and one for run time binding? What is early/late binding?

600


What is datarelation c#?

465


Can derived classes have greater accessibility than their base types?

547


update data in an xml file which resides in solution itself, using silverlight 4.0

1378


Does c# support multilevel inheritance?

485


What is the relation between classes and objects?

526


What is difference between dll and exe in c#?

483