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 |
What is difference between ado.net and asp net?
How do you implement locking concept for dataset?
Being fresher How would i answer to the question that what is your salary exception?
What is sql command in ado net?
Which is faster dataset or datareader?
What is the difference between connected and disconnected environment?
What is the functionality of data provider in ado.net?
Why is it important to close an ado.net application?
How do you find the count of records in a dataset?
What is the difference between a datareader and a dataset?
What are the ado.net components?
Differnce between Stored procedure and user defined functions?
17 Answers Microsoft, Symphony,