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 / parmjit
It depends upon member's data type.
If it is of primitive type, structure or enum type, it will
be of value type
Otherwise it will be of reference type.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is a multi line comment?
What is the relationship between a process, application domain, and application?
What is difference between int and int in c#?
What is serialization of data?
what is difference between is and as operators in c#?
What is int64 in c#?
What does immutable mean in c#?
What is cosole application?
What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to
What is the syntax for calling an overloaded constructor within a constructor?
What is an icollection in c#?
What is clr in c#?
What is difference between events and delegates?
Is the following code legal?
What is the difference between const and readonly in c#.net?