int i,string s, String s1 Which is valuetype which is
refrence type.
Answers were Sorted based on User's Feedback
Answer / spvarma
int i as valuetype
string s,string s1 are reference types....
Is This Answer Correct ? | 36 Yes | 4 No |
Answer / geetanjali
int i is value type
strings,s1 are refrence type
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / pradeep nfg
Int i => Value type
String S, S1 => Reference type
Is This Answer Correct ? | 4 Yes | 0 No |
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 |
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 |
Can we set image Source dynamically using C# in WPF application?
What is dependency injection in simple words?
What is value c#?
What is jit (just in time)?
What is a nullreferenceexception and how do I fix it?
What is the use of nullable types in c#?
Name any three ways to pass parameters to a method in c#?
How long does it take to learn c# programming?
HOw to judge a person for a team if you are allowed to ask only 2 questions to him?
What operators can be used to cast from one reference type to another without the risk of throwing an exception?
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?
Explain namespaces in c#.