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 / vijaysaxena

out -doesnot keep initial value or assigned value.
ref-does
void f1(out int t){
t+=100 //give error becs t has no value --true for ref
t=100 //possible
}

Is This Answer Correct ?    6 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string mutable in c#?

813


What is the use of console readkey in c#?

872


Name the connections does microsoft sql server support?

871


What is string literal in c#?

984


Compare and contrast between the System.Array.CopyTo() and Clone()?

920


What is func c#?

942


What is difference between array and list in c#?

816


What is a static class in c#?

930


What is the difference between interface and abstract class in c#?

853


Why delegates are type safe?

861


What does dbml mean?

817


What are the different types of comments in c#?

824


What are virtual destructors?

899


What are c# types?

956


What are the return types in c#?

911