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 the different ways a method can be overloaded?
Write a program in C# for checking a given number is PRIME or not.
My switch statement works differently! Why?
Why do we overload constructors?
What is enum in c#?
Define a class and an object?
What is a must for multitasking
What is appdomain in c#?
What is the difference between protected and internal in c#?
What is default parameter in c#?
Write down the c# syntax to catch an exception
What is uint c#?
Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?
What is difference between class and abstract class in c#?
What is boxing and unboxing in c#?