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
Explain what are three test cases you should go through in unit testing?
What are strings in c#?
What does int32 mean in c#?
What is parallel foreach c#?
What is the use of dll file in c#?
How do I run a cshtml file?
What is array and types of array in c#?
Explain the difference between a namespace and assembly name in .net?
What are the examples of data types?
What is the base class from which all value types are derived?
What is trim in c#?
Is string a class in c#?
What is desktop GUI application?
What is null in database?
How do you comment out code in c#?