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

Explain the various objects in dataset.

756


Which keyword is used to accept variable number of parameters?

900


Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.

826


What is difference between executequery and executeupdate?

729


What two types of data providers does ADO.NET supply? What determines which one you should use?

772


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

810


What is executequery?

709


What are all the commands used with Data Adapter?

758


What are the advantages and disadvantages of using datalist?

746


What is data control techniques?

708


Explain the difference between ado and ado.net?

718


What is an example of ordinal data?

759


How to add an aggregate column?

774


What is DataReader Object?

809


What is the full form of ado?

710