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?

Answers were Sorted based on User's Feedback



What is the difference between ref & out parameters?..

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

What is the difference between ref & out parameters?..

Answer / satya

ref keyword is used while passing the parameters by reference.
out keyword is used while passing the parameters by out

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Sharp Interview Questions

Name some properties of thread class.

0 Answers  


What does async mean in c#?

0 Answers  


What is ControlBox Propertie

0 Answers   MCN Solutions,


can we create an empty interface with no definitions? If so, how it should be called in the class?

3 Answers   IBM,


What is the difference between list and dictionary in c#?

0 Answers  


What is gac? How to put assembly in gac?

0 Answers  


Use of Checked and UnChecked operators?

2 Answers   TCS,


What is the difference between System.String and System.StringBuilder classes?

9 Answers  


What is difference between association, aggregation and inheritance relationships?

0 Answers  


What is executereader in c#?

0 Answers  


What is the difference between ienumerable and enumerable?

0 Answers  


What are the classes contained in a single .NET DLL ?

0 Answers   Siebel,


Categories