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
Which is faster ado.net or linq?
What is difference between ado.net and asp net?
What are two types of transaction supported by ado.net?
What is the significance of CommandBehavior.CloseConnection ?
If a table contains 20000 records. In a page at each time 100 records to be displayed.
What is a dynaset in access?
Define atomicity?
What is variable view?
Explain how to bind the controls(best practice) comboboxes to the data in the dataset?
List all the steps in order, to access a database through ado.net?
how you will deal result set? How do you sort a dataset?If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?
What is the difference between DataReader and DataSet in ADO.NET?
How will you fill the gridview by using datatable object at runtime?
Which object needs to be closed?
Explain which name space is used to get assembly details?