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...


If a class is a ref type, how we can pass to a function.



If a class is a ref type, how we can pass to a function...

Answer / sujai cn

We can pass the object to a function by pass by reference
type.
create an object and pass that object to the function.
when we pass the object to function a copy constructor is
used to create a bit wise copy of the object sent to the
function.If there is no copy constructor implemented the
default copy constructor is called.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More C Sharp Interview Questions

What are the ways in which client can create object on server in cao model?

0 Answers  


How main method is called in c#?

0 Answers  


What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?

0 Answers  


What is a delegate how is it type safe?

0 Answers  


What is a function c#?

0 Answers  


what is the difference between finally and dispose methods?

3 Answers   HCL, Patni,


how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used

0 Answers   HCL, NIC,


What do you mean by jagged arrays in c#?

0 Answers  


What is private variable?

0 Answers  


What is the use of 'as' Keyword in C# ?

0 Answers   HCL,


Which is faster dictionary or hashtable?

0 Answers  


Do vs while c#?

0 Answers  


Categories