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 a partial class?

496


Explain the process of Serialization?

542


In .NET how can you solve the DLL Hell problem?

663


What is difference between ienumerable and iqueryable in c#?

493


What is the function of the not null constraint?

484






What is a console application in c#?

441


Which function is the entry point for a DLL in MS Windows 3.1?

675


What is out int in c#?

471


What is a cs file?

507


how to implement a web service in .net

467


Is it possible to have a static indexer in c#?

541


What are functions c#?

562


Define multicast delegate in c#?

512


Can multiple inheritance implemented in c# ?

531


What is delimiter in c#?

479