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 stringreader in c#?
How does c# achieve polymorphism?
What does convert toint32 mean?
What is an int c#?
Define mutex in C#?
What is difference between a constant and read-only in C#?
How do I create a new form in c#?
What is gui in c#?
Explain “static” keyword in c#?
Explain deadlock?
Explain nullable types in c#?
The int maps to which C# keyword in .NET type?
Describe ways of cleaning up objects in c#.
How big is a 64 bit integer?
Is there throws keyword in c#?