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 |
An abstract class is inherited, an Interface also inherited(multiple inheritance), How it differences.
What is unrecognized escape sequence in c#?
What is difference between iqueryable and ienumerable in c#?
List down the differences between “dispose” and “finalize” methods in c#.
If the original method is not static you can declare an override method to be static or not?
how to store the value in textbox using delegates if we have two user control. the value will be called from one user control to another user control. Loading and unloading will be done through delegates.
Is c# different than c++?
What is the Difference between value and reference type?
Is c# still popular?
What is the use of system.environment class in c#.net?
What is .cs file in c#?
Why do we use stringbuilder 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)