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

differences between ADO and ADO.NET

1067


Which is faster entity framework or ado.net?

924


Which is the feature of ado.net?

1006


What is ado recordset?

985


Which method is used by command class to execute SQL statements that return single value?

1042


Explain what are acid properties?

978


Is entity framework better than ado.net?

1007


What does executereader return?

966


What is dbcontext and dbset in entity framework?

934


What are different layers of ADO.Net?

1090


What are the benefits of using of ADO.NET in .NET 4.0?

1064


What is aggregate root?

1093


What is datasource in ado.net?

1068


What is the default timeout specified for "sqlcommand.commandtimeout" property?

1043


Explain the difference between sqlcommand object and command behavior object?

1080