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 parse and tryparse in c#?

0 Answers  


What Is An Interface Class?

0 Answers   Siebel Systems,


Define encapsulation?

0 Answers   Siebel,


Which class comes after the SortedList class?

0 Answers   Siebel,


What is a helper method in c#?

0 Answers  


How you will connect to windows directory in c#?

2 Answers   HP, nTech Solutions,


destructor, Dispose, Finalize - How they relate to each other

1 Answers   Synechron,


My switch statement works differently! Why?

0 Answers  


What is single dimensional array in c#?

0 Answers  


What are the boolean data types in c#?

0 Answers  


Can interface have virtual methods in c#?

0 Answers  


Explain About stateless and state full web service

0 Answers   Digital GlobalSoft,


Categories