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 how can I get around scope problems in a try/catch?

914


What is private and shared assembly?

1002


Which is the base class in c#?

921


Can we inherit abstract class in c#?

926


What is the difference between integer and double?

923


What is use of abstract class in c#?

937


Can firstordefault return null?

947


How to find the current application file path while runtime?

986


What are the benefits of using generics?

1002


What is an Interface in C#?

981


How many bytes is a char c#?

896


Why do we use static methods in c#?

1012


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

981


What is hashtable c#?

873


Can a method return multiple values in c#?

867