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 literal control

0 Answers  


Explain nullable types in c#?

0 Answers  


what is the fastest way to concatenate strings in c sharp?

4 Answers   HCL,


write program in C# for palindrome? (aug 2009) write program in C3 for generating below output?(aug 2009) # # # # # # # # # #

4 Answers   TCS,


How do you declare a variable in c#?

0 Answers  


Can we override static class in c#?

0 Answers  


What's new in c#?

0 Answers  


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

0 Answers   Siebel,


What is difference between float and decimal?

0 Answers  


why delegate is type safe?

0 Answers   IBS,


What is the use of ienumerable in c#?

0 Answers  


What is the advantage of generics in c#?

0 Answers  


Categories