What is the Difference between value and reference type?

Answer Posted / rahul e. mankumare

Value Types:-
value types are struct type and enumeration.
value type have some types which are given below
1>numeric type
2>boolean tyoe
3>character type
value type contain some integral types means signed
integers and unsigned integer. floating-point,decimal types
are also comes under value type

Reference Types:-
it is user defined type. It contains classes,
interfaces, delegates, arrays also object and strings types.

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c# used for any core features of windows vista?

523


Give some examples for built in datatypes in c#?

552


Can we inherit partial class in c#?

505


What is the boxing and unboxing in c#?

502


What is thread in c#?

549






How big is int16?

520


Is array immutable in c#?

482


What is the property of class?

583


Can abstract class be sealed in c#?

474


What is the difference between interface and inheritance in c#?

473


Which program construct must return a value?

565


When a switch is said to be congested?

578


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

1686


What is the difference between integer and double?

472


How to Show Message box in Metro Style App?

569