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
In which way you can convert a value-type to a reference-type?
Is dictionary a collection?
What is executenonquery c#?
What is difference between internal and protected internal in c#?
What are different types of classes in c#?
What are the different states of a thread?
Why is c# a good programming language?
How big is a float?
Is boxing an implicit conversion?
What is difference between write and writeline?
What is ienumerable t in c#?
Is null empty or whitespace c#?
Explain the functionalities of satellite assembly?
Can you mark static constructor with access modifiers?
How will you get the different language strings?