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
What are the ado.net components?
What is difference between entity framework and ado.net?
Does dapper use ado.net?
How is entity framework different from ado.net?
Define the executescalar method?
What is the current version of entity framework?
What are the different ado.net namespaces?
What are all features of ADO.Net?
How do you update database through dataset?
What is data reader in ado.net?
What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)
What is the significance of CommandBehavior.CloseConnection ?
What is isolation?
Explain how do you connect to sql server database without using sqlclient?
What are the different methods available under the sqlcommand class to access the data?