Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is reference by value how does it works in .net?

Answers were Sorted based on User's Feedback



What is reference by value how does it works in .net?..

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

What is reference by value how does it works in .net?..

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

Post New Answer

More ADO.NET Interview Questions

What does datareader object do?

0 Answers  


ADO and ADO.NET differences ?

2 Answers   Microsoft,


How many commands does the oledbcommand takes?what are they?

2 Answers  


What is the difference between executenonquery () and executescalar ()?

0 Answers  


Which database is the ado.net sql connection object designed for?

0 Answers  


What is datasource in ado.net?

0 Answers  


What is oledb driver?

0 Answers  


What is dao and ado?

0 Answers  


What is sqldatareader?

0 Answers  


How would you connect to a database by using .NET?

0 Answers  


what is different between SqlCommand object and Command Behaviour Object

3 Answers  


What is Dataset Object?

0 Answers  


Categories