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 covariance and contravariance? Did Delegate and method overriding support these?

1 Answers   TCS,


what happens if you inherit multiple interfaces and they have conflicting method names?

0 Answers   Siebel Systems,


What is foreach loop in c#?

0 Answers  


Why is c# used?

0 Answers  


Does c# supports destructors?

9 Answers   Choice Solutions,


What is the wildcard character in sql?

0 Answers  


What’s difference between Association, Aggregation and Inheritance relationships?

2 Answers   TCS,


What is a dictionary in c#?

0 Answers  


What is the use of regex in c#?

0 Answers  


why C# called C#

3 Answers  


What Is A Satellite Assembly?

0 Answers   PUCIT, Siebel Systems,


What is a thread? What is multithreading?

0 Answers  


Categories