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
Are multiple data types stored in System.Array?
What is default constructor in c#?
Explain the difference between const and static read-only?
What is the use of tryparse in c#?
What is single dimensional array in c#?
Can you create an instance of a static class?
Why do we need nullable types in c#?
What is a Managed Code??
What is the default value of singleordefault?
what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?
Explain About ADO and its objects
What is inline function in c#?
What is the difference between double and decimal in c#?
When is a class declared as a class abstract?
If you want to write your own dot net language, what steps you will u take care?