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 the access allowed for compilation units(namespace),class and structs and what are its default access?
what is garbage collection?
What are the applications of c#?
How can we give strong name to assembly? What is satellite assembly?
How to reduce image resolution in C#?
What is a static in c#?
Explain About sn.exe
What is use of private class in c#?
What are the types of operator?
Is c# static or dynamic?
Why do we use yield in c#?
What is hashmap 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)