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 executenonquery?
What are all features of ADO.Net?
Explain the advantage of ADO.Net?
Which database is the ado.net sql connection object designed for?
Which architecture does Datasets follow?
Is it possible to load multiple tables in a Dataset?
What is an ado connection?
What are all components of ADO.Net data provider?
Which object of ado contains datarow datacolumn collection?
Why ca not we use multiple inheritance and garbage collector paralelly in .net?
What is ado.net components?
What is csdl entity framework?
What is difference between ado.net and asp net?
Why is it important to close an ado.net application?
What is the maximum pool size in ado.net connection string?