int i,string s, String s1 Which is valuetype which is
refrence type.

Answers were Sorted based on User's Feedback



int i,string s, String s1 Which is valuetype which is refrence type...

Answer / spvarma

int i as valuetype
string s,string s1 are reference types....

Is This Answer Correct ?    36 Yes 4 No

int i,string s, String s1 Which is valuetype which is refrence type...

Answer / geetanjali

int i is value type
strings,s1 are refrence type

Is This Answer Correct ?    7 Yes 1 No

int i,string s, String s1 Which is valuetype which is refrence type...

Answer / pradeep nfg

Int i => Value type
String S, S1 => Reference type

Is This Answer Correct ?    4 Yes 0 No

int i,string s, String s1 Which is valuetype which is refrence type...

Answer / ashish p

Int i => Value type ==>Stack allocation in memory
String S, S1 => Reference type==>heap allocation in memory

Is This Answer Correct ?    3 Yes 1 No

int i,string s, String s1 Which is valuetype which is refrence type...

Answer / bala

String s1

Is This Answer Correct ?    4 Yes 6 No

int i,string s, String s1 Which is valuetype which is refrence type...

Answer / mahesh

int i :- Value type it allocate on stach memory
string s, String s1 :- refference type it allocate on heap
memory

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More C Sharp Interview Questions

What is asynccallback c#?

0 Answers  


What is the difference between delegates and events in c#?

0 Answers  


Should I make my destructor virtual?

0 Answers  


What is the difference between ienumerable and icollection?

0 Answers  


Where are value types stored in c#?

0 Answers  






Why hashtable is thread safe in c#?

0 Answers  


What is marshalling and what are different kinds of marshalling?

0 Answers  


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

0 Answers   HCL,


Explain About a class access specifiers and method access specifiers.

0 Answers  


Why do we use inheritance in c#?

0 Answers  


How much time will it take to learn unity?

0 Answers  


Are arrays value types or reference types?

0 Answers  


Categories