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 generate documentation from the C# file commented properly with a command-line compiler?

1 Answers  


What is interface c#?

0 Answers  


What is meant by desktop application?

0 Answers  


What is the difference between field and property in c#?

0 Answers  


Why is aws serverless?

0 Answers  


Can we inherit sealed class in c#?

0 Answers  


an object,class is value type or refarance type. ?

4 Answers   Synechron,


What is bit in c#?

0 Answers  


Can a class inherit structure.

4 Answers   IBM, Synechron,


Can you instantiate an abstract class c#?

0 Answers  


What does the keyword virtual mean in the method definition?

3 Answers   Ipog Software, Satyam, Visual Soft,


What is the difference between final finally and finalize in c#?

0 Answers  


Categories