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
Is learning c# hard?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates
What are the 3 types of comments in c#?
What does executescalar return in c#?
What is an icollection in c#?
Why singleton is sealed?
How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?
What are the desktop applications?
How can you achieve run time polymorphism in C#?
What is iqueryable in linq?
Explain About multi level and multiple inheritance how to achieve in .net
Describe two uses of the “using” statement during the operation of c#?
What is an extension method in c#?
What is difference between managed and unmanaged code?
Why dictionary is used in c#?