int i,string s, String s1 Which is valuetype which is
refrence type.

Answer Posted / pradeep nfg

Int i => Value type
String S, S1 => Reference type

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the value types in c#?

712


Why objects are stored in heap in c#?

659


Define constructors

735


When should I throw an exception?

770


what is the difference between .dll and .exe

728


What are the steps for creating clr trigger

782


What is typeof undefined?

668


Does c# support a variable number of arguments?

772


What is the meaning of console writeline in c#?

632


4. Describe the process when we send a request URL? And who is responsible for that?

1714


Is c# and .net same?

648


Is string nullable c#?

681


What is the difference between inheritance and abstract class?

645


Where is c# compiler located?

679


What is difference between struct and class in c#?

674