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
Is c# used for any core features of windows vista?
Give some examples for built in datatypes in c#?
Can we inherit partial class in c#?
What is the boxing and unboxing in c#?
What is thread in c#?
How big is int16?
Is array immutable in c#?
What is the property of class?
Can abstract class be sealed in c#?
What is the difference between interface and inheritance in c#?
Which program construct must return a value?
When a switch is said to be congested?
what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?
What is the difference between integer and double?
How to Show Message box in Metro Style App?