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 reference parameter?
what is out parameters?
what is difference these two?

Answer Posted / rahul

In short ,

ref parameters needs to be initialized and can be used as
input as well as for output where as the out parameters
needs not to be initialized as there will not be any use
even if u initialize and can only be used for the the ouput
whose value to passed into the function......

for those who dont like too much reading...... it may help

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is thread life cycle in c#?

1024


explain the features of static/shared classes.

993


What is private protected in c#?

948


What is the boxing and unboxing in c#?

941


What is parallel foreach in c#?

1018


Can property be private in c#?

932


Why cannot you specify the accessibility modifier for methods inside the interface?

969


What is the difference between do and while loop?

931


What is a boolean c#?

937


What does .length do in c#?

1003


What is different between Static Constructor and Private Constructor?

1083


Does c# support multilevel inheritance?

930


Can we set image Source dynamically using C# in WPF application?

1129


What is global namespace in c#?

1014


What is the difference between serialization and deserialization in c#?

1106