Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is access specifier in c#?

1120


What is use of FormBoarderStyle Propertie

995


What are static and dynamic variables?

1219


What is a data set in c#?

995


What is a static in c#?

973


What is difference between overloading and short circuiting?

1052


What is the purpose of namespace in c#?

923


explain the nature of the assembly work?

2611


What does public mean in c#?

971


How do you escape a character?

992


How big is a 64 bit integer?

962


Why main method is static in c#?

1003


Is int reference type c#?

1031


What is the difference between system.string and system.text.stringbuilder classes?

1060


What is msil in c#?

1011