Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is an inheritance ?Give an example in which inheritance is used?

984


What's the difference between a method and a procedure?

909


What are escape sequences explain with example?

889


Is stringbuilder thread safe c#?

819


Explain how to implement an object pool in c#.net

894


Can a sealed class be used as a base class?

912


What is the advantage of singleton class?

876


What is meaning of type safety in c#?

795


How many constructor can a class have?

927


If you donot specify an access modifier for a method, what is the default access modifier?

968


Which is better javascript or c#?

860


How many digits are in an integer?

804


What does do in c#?

896


What is an enumerator c#?

876


What is xaml file in c#?

899