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

Can we set image Source dynamically using C# in WPF application?

0 Answers   Tech Mahindra,


What is dependency injection in simple words?

0 Answers  


What is value c#?

0 Answers  


What is jit (just in time)?

0 Answers  


What is a nullreferenceexception and how do I fix it?

0 Answers  






What is the use of nullable types in c#?

0 Answers  


Name any three ways to pass parameters to a method in c#?

0 Answers  


How long does it take to learn c# programming?

0 Answers  


HOw to judge a person for a team if you are allowed to ask only 2 questions to him?

2 Answers   TCS,


What operators can be used to cast from one reference type to another without the risk of throwing an exception?

0 Answers  


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?

0 Answers  


Explain namespaces in c#.

0 Answers  


Categories