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 |
Define executenonquery?
How to read data with the sqldatareader ?
Which type of database is used while processing dynamic database?
What is ODP.NET ?
How do we invoke queries from the application ?
Can we do database operations without using any of the ado.net objects?
What is the key feature of ADO.NET compared to ADO ?
How can we save all data from dataset?
What is ole word?
How to create dynamic gridview?
We all know that Dataset is purely disconnected architechure, but we also know that we can update the changes made to the dataset can be updated in the backend database. when there is no connection how does the update happedn?
6 Answers Accenture, FastStream,
What is method to get XML and schema from Dataset? getXML() and get Schema ()
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)