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
What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?
What is gac? What are the steps to create an assembly and add it to the gac?
Explain the various types of classes used in c#?
What are the namespace level elements?
What is difference between web and window application?
What do you mean by shared assembly?
What is a scope in c#?
What is iformatprovider in c#?
How to assign Null value to Var?
Where static variables are stored?
Can partial class be inherited?
What is streamreader/streamwriter class?
What is a interface in c#?
Explain constructor in c#?
Explain the differences between static, void and public in c#?