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 is ole word?

543


How to retrieve the user id which is provided while windows authentication?

594


What is ado object model?

519


What is Data Provider?

572


Explain ado.net features?

542






What are the data providers in ADO.NET framework?

597


What is ado.net connection?

471


What is the use of adodc?

530


How to create dynamic gridview?

594


How to check if the Dataset has records ?

538


What are the advantage of ado.net?

527


What is maximum pool size in ado.net connection string?

503


What is the use of connection object in ado.net?

568


How many major types of connection objects in ADO.NET?

598


What connected data?

500