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
How do you update a dataset in ado.net?
What is data control techniques?
How to pass values into a datatable?
How many major types of connection objects in ADO.NET?
What are good ado.net object to replace to ado recordset object.
What does executequery return?
What is sqldatareader?
What is a string variable?
What are the parameters that control most of connection pooling behaviours?
How can we save all data from dataset?
Why edit is not possible in repeater?
What are the advantages of using datalist?
What is command class in ado.net?
What is data relation?
Define Execute Reader?