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

Explain about Oops concept

949


Explain the use of virtual, sealed, override, and abstract method?

876


Is string nullable c#?

997


What is static variable in c#?

956


Why do we need constructor in c#?

935


To whom a method is accesssed if it is marked as protected internal ?

1087


Explain About Postback

932


What is a console?

935


what is partial assembly reference

944


Is stringbuilder better than string?

903


Are attributes inherited c#?

881


How do you escape c#?

893


What is icomparable in c#?

959


What's difference between constants and static readonly?

1189


How do you create user defined data types in c#?

1007