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

Is dictionary reference type c#?

0 Answers  


why C# called C#

3 Answers  


Can I use exceptions in c#?

0 Answers  


Is post back in c#?

0 Answers  


What is the purpose of a namespace?

0 Answers  






What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?

0 Answers  


Differentiate between copy and default constructor.

0 Answers   TCS,


Illustrate namespaces in c#?

0 Answers  


Which sorting algorithm is best?

0 Answers  


If a base class has a bunch of overloaded constructors, and an inherited class has another bunch of overloaded constructors, can you enforce a call from an inherited constructor to an arbitrary base constructor?

2 Answers  


Explain ACID rule of thumb for transactions.

3 Answers  


What is action c#?

0 Answers  


Categories