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 / thirdware

Its value type..........

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name some properties of array.

484


What's different between c# and c/c++?

535


How do I port "synchronized" functions from visual j++ to c#?

490


You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?

502


How to move to a state-related codebase?

899






What is difference between for and foreach loop in c#?

537


What does m mean in decimal c#?

498


What are the collection types can be used in c#?

470


List down the different ide’s provided by microsoft for c# development.

474


What is callback delegate in c#?

459


What are destructors in C#?

848


What are the types of comments in c#?

547


What are the Types of configuration files and their differences

552


Can you prevent a class from being instantiated?

596


Is multiple inheritance possible in c#?

561