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 the difference between an XML "Fragment" and an XML "Document." ?

1 Answers  


When was .net linq added?

0 Answers  


Are private members inherited in c#?

0 Answers  


how to stored and retrive video in Sql server using asp.net c#......?

0 Answers   Sans Pareil IT Services,


Can abstract class have parameterized constructor?

0 Answers  


What is default boolean value in c#?

0 Answers  


Why c# is called type safe language?

0 Answers  


Difference between dispose and destructor?

3 Answers   TCS,


What is data adapter in c#?

0 Answers  


What is lazy loading entity framework?

0 Answers  


what are wrapper classes?

1 Answers  


what is main function of alternate teamplate of datalist?

0 Answers  


Categories