int i,string s, String s1 Which is valuetype which is
refrence type.
Answer Posted / 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 |
Post New Answer View All Answers
What is anonymous class in c#?
What is dynamic in c#?
What is the difference between the debug class and trace class? Documentation looks the same.
Define satellite Assembly?
Is c# the same as d flat?
What is writeline?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
How to add a readonly property in c#.net
Can we store different data types in arraylist in c#?
How do you access a constant field declared in a class?
What is a class level variable in c#?
Is c# easier than javascript?
What is the difference between select and selectmany?
What is exe in c#?
How do I develop c# apps?