What is the use of "default" and "Using" keyword?
Answer Posted / pavan kumar
"default" is a keyword which can be used in two ways
1)In switch as default label
2)In generics as default paramenter.
same as "using" key word this also used in two ways
1)For implementing the namespace into current class
2)Used to check properly dispose of object using the
IDisposable interface
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?
What is private in c#?
What are the types of access modifiers?
What is reference types in c#?
How do I do implement a trace?
How do I create a multilanguage, single-file assembly?
What is data binding c#?
What is ControlBox Propertie
What is the use of parse in c#?
What is the difference between xml documentation tag?
What is string in c# net?
How do I move from one form to another in c#?
What do you mean by saying a "class is a reference type"?
Is string passed by reference in c#?
Is datetime a value type in c#?