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 is signature c#?

0 Answers  


Hello.. This is kali prasad. i wish to learn C#. kindly guide me in making me expert in c#.

2 Answers  


Can property be private in c#?

0 Answers  


What is delegates and events?

0 Answers  


What is a generic in c#?

0 Answers  


What is difference between property and variable in c#?

0 Answers  


Explain the use of virtual, sealed, override, and abstract method?

0 Answers  


What is entity framework in c#?

0 Answers  


Use of Checked and UnChecked operators?

2 Answers   TCS,


How to add a readonly property in c#.net

0 Answers  


List down the differences between “dispose” and “finalize” methods in c#.

0 Answers  


What is iqueryable in linq?

0 Answers  


Categories