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 the Difference between value and reference type?

Answers were Sorted based on User's Feedback



What is the Difference between value and reference type?..

Answer / nithya

value type variable :
If the valuetype variable data is copied to another
variable, its actual data is not effected.
eg., for valuetype variables are
char,boolean,structures,enumerations .
eg.
dim m.n as integer
m=100
n=200

reference type variable:
variable doesnt stores the actual data, instead it has a
pointer . that pointer will points to the actual data
location
eg., for reference type variabls are array,class .
eg.
dim a,b as integer
a=5
assume, a is in the memory locatyion of 1001.
that address value will be stored to the another variable
say b whose address is 1020

Is This Answer Correct ?    6 Yes 9 No

What is the Difference between value and reference type?..

Answer / ramu

watras

Is This Answer Correct ?    1 Yes 27 No

Post New Answer

More C Sharp Interview Questions

Which control cannot be placed in mdi?

0 Answers  


What?s the top .NET class that everything is derived from?

4 Answers   Hindawi, Siebel, Visual Soft,


What is Interface Polymorphism?with E.g

1 Answers  


Does c# have functions?

0 Answers  


How are Windows programs different from normal C-programs?

0 Answers   Tech Mahindra,


Define satellite assembly in c#?

0 Answers  


Can you put two constructor with the same structure in a class?

0 Answers  


Does hashset allow duplicates c#?

0 Answers  


What are actions in c#?

0 Answers  


What is a property c#?

0 Answers  


i want display a given number into Rupees Format Like Given number is : 156735 my Expected output is 1,56,735. how to display?

6 Answers  


Can a dictionary have duplicate keys c#?

0 Answers  


Categories