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
Explain ODP.net
What is the role of data provider in ado.net?
What is sqldatareader?
Does entity framework use ado.net?
What is Serialization in .NET? what are the types of Serialization?
What is the difference between Optimistic and Pessimistic locking?
What is the difference between dataset and datatable?
Describe briefly an ADO.NET Dataset ?
Which object of ado contains datarow datacolumn collection?
What are the usages of the command object in ado.net?
What is aggregating data ?
What is data view and variable view?
What is an orm, and why would you use one instead of plain old ado.net?
What are the rules to implement connection pooling?
Define the data provider classes that is supported by ado.net?