If a class is having 4 variables namely type double,type
integer,type string,type decimal.
If we create an instance of that class those variables which
gets into this instance are value types or reference types?
Answer Posted / anna
if it is a value type in base class , it will also be a
value type in the derived.
if it is reference type, then it is reference.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the difference between an integer and int?
What is inheritance in csharp?
What is the full form of GAC? Explain its uses?
Why extension method is static?
What is stringreader in c#?
What are mutable and immutable types in c#?
What is difference between an reference type and value type in C#?
What is web forms in c#?
How to rotate an Image in C#?
Can a static class have a constructor c#?
Can abstract class be sealed?
What is difference between struct and class in c#?
What are the different types of assemblies available and their purpose?
What is a Managed Code??
What is a bool in c#?