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 |
What are console applications used for?
What is concatenation and when should it be used?
What does typeof return c#?
How many constructor can a class have?
State two different types of access modifiers.
What is a di class?
Is int an object in c#?
What is hashset c#?
What?s the difference between the System.Array.CopyTo() and System.Array.Clone()?
What is the difference between abstract and abstraction?
How can we set class to be inherited, but prevent the method from being over-ridden?
What is the purpose of reserved word using in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)