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...

What is reference by value how does it works in .net?

Answer Posted / manasachowdary

Reference types is like , an object is created in memory,
and then handled through a separate reference like a pointer

when you declare a var as reference and change the value of
var it will be reflected across .. where as if you declare
a var as valu .. only that particular instance value is
changes..
Here we cant store the memory directly.

Referance type memory stored in heap....heap memory can be
clear at runtime

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is faster ado.net or linq?

962


What is difference between ado.net and asp net?

981


What are two types of transaction supported by ado.net?

948


What is the significance of CommandBehavior.CloseConnection ?

1106


If a table contains 20000 records. In a page at each time 100 records to be displayed.

851


What is a dynaset in access?

1022


Define atomicity?

978


What is variable view?

834


Explain how to bind the controls(best practice) comboboxes to the data in the dataset?

968


List all the steps in order, to access a database through ado.net?

1037


how you will deal result set? How do you sort a dataset?If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?

954


What is the difference between DataReader and DataSet in ADO.NET?

1086


How will you fill the gridview by using datatable object at runtime?

987


Which object needs to be closed?

2198


Explain which name space is used to get assembly details?

919