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
Give some examples of commonly used i/o classes?
What is dataview c#?
How a two-dimensional array declared in C#?
What is session management in c#?
What is the resgen.exe tool used for?
Write the syntax for catching an exception in c#?
For read-only operation which property you have to designated?
From which base class do all Web Forms inherit from?
What is dll in vb.net?
What are the Configuration files in .net?
What is global namespace in c#?
What is a static field?
Write a program in c# to find the angle between the hours and minutes in a clock?
Can you change the value of a constant filed after its declaration?
What is a hash table in c#?