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 / kishore.a
It will be value type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?
Why constructor is used in c#?
What does readonly mean in c#?
What is the example of predicate?
Give an example of a ctype.
What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?
Why singleton class is sealed in c#?
Describe an interface class?
What does writeline mean?
What do you mean by sealed classes and static classes?
What is an escape sequence in c#?
What is the difference between static and private constructor in c#?
What are winforms in c#?
Explain the process of polymorphism with an example?
What is string class in c#?