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 to stored and retrive video in Sql server using asp.net c#......?

0 Answers   Sans Pareil IT Services,


Explain constructor.

7 Answers   Wipro,


What is typeof undefined?

0 Answers  


What basic steps are needed to display a simple report in crystal?

0 Answers  


how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used

0 Answers   HCL, NIC,


What is c# console application?

0 Answers  


What are floating point numbers?

0 Answers  


Define encapsulation?

0 Answers   Siebel,


When is a class declared as a class abstract?

0 Answers   Siebel,


What is datatable and dataset in c#?

0 Answers  


ctype(123.34,integer) - should it throw an error? Why or why not?

2 Answers   Wipro,


How can we set the class to be inherited, but prevent the method from being over-ridden?

0 Answers  


Categories