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


Please Help Members By Posting Answers For Below Questions

Define delay signing?

534


What does this keyword mean in c#?

525


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

1688


Will the following code compile?

559


Is java better than c sharp?

515






What is the difference between finalize() and dispose() methods?

535


What is arraylist class in c#?

534


What is difference between assembly and namespace?

474


Is nullable type c#?

496


What to implement on my class Finalize or IDisposable

560


Why we use get and set method in c#?

508


What is a method signature in c#?

513


Are there functions in c#?

512


What happens if the inherited interfaces have conflicting method names?

572


Explain the functionalities of satellite assembly?

554