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 a datagrid?
What is main five diffrent between Connected And Disconnected environment
15 Answers HCL, Satyam, US India, Wipro,
i making a project using windows application c#, i want to show user name, password, and one button login. i wanna make it with sealed class .how its possible . when i clicked my login button all project should be open. pls cleare me.
What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
Difference between ADO and ADO.Net
Explain all the classes those are used for database connections between sql server and asp.net?
What are all components of ADO.Net data provider?
Which object of ado contains datarow datacolumn collection?
What does executereader return?
What are the ADO.NET Controls?
What do you know about ADO.NET's objects and methods?
How to check if a datareader is closed or opened?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)