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

What are the ado.net components?

1065


What is difference between entity framework and ado.net?

978


Does dapper use ado.net?

1071


How is entity framework different from ado.net?

1001


Define the executescalar method?

993


What is the current version of entity framework?

1018


What are the different ado.net namespaces?

1124


What are all features of ADO.Net?

1041


How do you update database through dataset?

1025


What is data reader in ado.net?

1050


What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)

1058


What is the significance of CommandBehavior.CloseConnection ?

1212


What is isolation?

1073


Explain how do you connect to sql server database without using sqlclient?

1056


What are the different methods available under the sqlcommand class to access the data?

1097