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

Explain the serialization in .net

989


Is c# lazy thread safe?

902


What is the difference between readkey and readline in c#?

880


Which of these statements correctly declares a two-dimensional array in c#?

1069


What is the difference between ienumerable and icollection?

931


Why do we need static in c#?

963


What is a web service in c#?

1147


Why do we need indexers in c#?

927


What is interface used in c#?

1025


Can you use foreach iteration on arrays in c#?

1076


What is method in c#?

889


How long does it take to learn c# programming?

914


What is the solution if you need to manipulate sets of items?

877


What are the main reasons to use c# language?

957


What are the access modifiers in c#?

945