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

What is the difference between internal and private in c#?

0 Answers  


What is the value which is accepted by all data types ?

0 Answers   MCN Solutions,


What is hashtable in c# net with example?

0 Answers  


What is predicate c#?

0 Answers  


Explain the types of Polymorphism.

0 Answers   Accenture,


What is a streamwriter in c#?

0 Answers  


How do you specify a custom attribute for the entire assembly (rather than for a class)?

0 Answers  


What is Delay Signing?

1 Answers   ACS,


What is a dbml?

0 Answers  


Can delegates be used as callbacks?

0 Answers  


Can an abstract class inherit from another abstract class c#?

0 Answers  


What is the difference between func and action delegate?

0 Answers  


Categories