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


Please Help Members By Posting Answers For Below Questions

Is null empty or whitespace c#?

505


Can properties be private in c#?

483


What is the default value of singleordefault?

496


What is null in database?

466


Are arrays immutable c#?

521






How do I download a program to my desktop?

470


What is activator c#?

480


What is serialization in c#?

478


When can a derived class override a base class member?

527


What is form feed and carriage return?

483


Why cannot you specify the accessibility modifier for methods inside the interface?

495


Is c# pass by reference?

509


What is a thread c#?

501


What is datetime parse in c#?

519


What is reflection in c#?

497