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 are the two keywords used to pass a variable by
reference in c#?

Answer Posted / sreekanth m

Two keywords are "ref" and "out".

the difference between them are: In the case of "ref", the
passed argument should be initialized first whereas
for "out", its not mandatory.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between value types and reference types?

1197


Define boxing and unboxing in c#?

910


What are predicates in c#?

989


Explain the types of assemblies in .net?

1007


Does a class need a constructor c#?

952


what is IDisposal interface

1206


What is int tryparse in c#?

996


Why hashtable is thread safe in c#?

1077


What is private virtual in C#?

1056


What are delegate methods?

1015


Explain acid rule of thumb for transactions in c#.

1038


What is xamarin used for?

989


What is the .NET collection class that allows an element to be accessed using a unique key?

1165


I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.

1954


Is static thread safe?

935