What is reference by value how does it works in .net?

Answer Posted / khalid

Referance type variables is stored in heap.
Value type variables is stored in stack.
when you declare a var as reference and change the value of
var it will be reflected across

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is adodb dll located?

527


How to work with disconnected data - the dataset and sqldataadapter?

504


Explain how do you connect to sql server database without using sqlclient?

478


Which parameter of ConnectionString is used to specify the name of the database?

545


What is the difference between a datareader and a dataset?

518






Define Execute Scalar?

553


Explain how to bind the controls(best practice) comboboxes to the data in the dataset?

558


What are typed and untyped dataset?

557


What DataReader class do in ADO.NET ?

582


What is Serialization in .NET? what are the types of Serialization?

553


What is ambient transaction?

506


What is an ado?

518


How to add a javaScript function in a datagrid?

567


How to add an aggregate column?

530


What are the objects of ado.net?

528