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
Why is it called c sharp?
What is a statement c#?
How many bytes is an int in c#?
Why is hashset faster?
How do I make a dll in c#?
Which attribute is used in order that the method can be used as webservice?
what is main function of alternate teamplate of datalist?
Why dictionary is faster than list?
Is there throws keyword in c#?
Write a syntax for writing a event delegate.
What are sessions in c#?
What is platform independence"?
What is enumerable in c#?
What’s a strong name?
What is a static property. Give an example?