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

How do you implement multiple inheritance in .NET?

10 Answers   Microsoft,


what is work of continue statement in C#?

3 Answers  


what is IFormatable

0 Answers   Wipro,


What do you know about device context?

0 Answers   C DAC,


Is string immutable in c#?

0 Answers  


Difference between multi-level and multiple inheritance?

4 Answers   Microsoft,


What is using in c#?

0 Answers  


What are value types and reference types?

0 Answers  


Write a program in c# to find the angle between the hours and minutes in a clock?

0 Answers  


What is type checking in c#?

0 Answers  


I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?

0 Answers  


What is a must for multitasking

0 Answers   InterGraph,


Categories