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 difference between ref & out parameters?

Answer Posted / padam

An argument passed as ref must be initialized before passing
to the method whereas out parameter needs not to be
initialized before passing to a method.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the concepts of cts and cls(common language specification).

1024


Why do we need constructor in c#?

992


What is tryparse c#?

997


What is uint c#?

958


What is a clr (common language runtime)?

949


Is dictionary a collection?

917


What is wcf c#?

995


How can I access the registry from c# code?

1069


What is the difference between ref and out parameters in c#?

1054


What are winforms in c#?

962


Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?

987


What is lazy loading entity framework?

1071


What is writeline?

939


Is hashset serializable c#?

1024


Can we inherit abstract class in c#?

965