What is reference by value how does it works in .net?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Differnce between Stored procedure and user defined functions?
17 Answers Microsoft, Symphony,
Which provider is used to connect ms access, oracle, etc…?
Can you explain how to enable and disable connection pooling?
How can we perform transactions in .net?
Does dapper use ado.net?
How many commands does the oledbcommand takes?what are they?
What is the difference between ado.net and entity framework?
how to create a quiz software using 4 options to answer and how to check with answers in the database and award marks....
What is the usage of the dataset object in ado.net?
What is a dataview?
How to fetch the last inserted record in a particular table?
10 Answers CarrizalSoft Technologies, Microsoft,
About ADO and its objects ?