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
differences between ADO and ADO.NET
Which is faster entity framework or ado.net?
Which is the feature of ado.net?
What is ado recordset?
Which method is used by command class to execute SQL statements that return single value?
Explain what are acid properties?
Is entity framework better than ado.net?
What does executereader return?
What is dbcontext and dbset in entity framework?
What are different layers of ADO.Net?
What are the benefits of using of ADO.NET in .NET 4.0?
What is aggregate root?
What is datasource in ado.net?
What is the default timeout specified for "sqlcommand.commandtimeout" property?
Explain the difference between sqlcommand object and command behavior object?