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 delegate in c# interview questions?
What are the uses of delegates in c#?
Is array a list?
Can you create partial delegates and enumerations?
I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.
Can a method return multiple values in c#?
Suppose two interfaces have same method, so how will you implement these methods in derive class?
Does c# support multiple inheritance (mi)?
If you want to write your own dot net language, what steps you will u take care?
Is int a struct in c#?
What is console readkey in vb net?
Can an abstract class inherit from another abstract class c#?
How much time will it take to learn unity?
What is a console in c#?
What is action in c# 3.5?