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 c# slower than java?

0 Answers  


1) how to delete duplicate records from table in sql server 2005 2) what is run time polymorphism

4 Answers   HCL, IBM, L&T,


What does the dispose method do with the connection object?

0 Answers  


Types of polymerphism and explain about dynamic polymerphism?

5 Answers  


What is the property of class?

0 Answers   Wipro,






What is the difference between int.Parse() and Convert.toInt32().

2 Answers  


What is difference between .net and c#?

0 Answers  


Explain briefly the difference between value type and reference type?

0 Answers   Accenture,


What is difference between assembly and dll?

0 Answers  


Why it's said that writing into .NET Application Configuration Files is a Bad Idea?

0 Answers   DELL,


Why interface is required?

0 Answers  


What is a nullreferenceexception and how do I fix it?

0 Answers  


Categories