Is string a value type or a reference type?
Answers were Sorted based on User's Feedback
Answer / rajkumar
Basically String is Value type But its Works(Behave) like
Reference Type...
| Is This Answer Correct ? | 1 Yes | 9 No |
Answer / chandrapal singh
string is value type by nature. it does not follow rules
of reference type. eg
string MyName1 = "chandrapal Singh";
string MyName2;
MyName2 = MyName1;
MyName2 = "deepak";
Response.Write("MyName1 :" + MyName1 + " MyName2 :" +
MyName2);
This gives Output
MyName1 :chandrapal Singh MyName2 :deepak
if this is reference type then the output should be
MyName1 :deepak MyName2 :deepak
| Is This Answer Correct ? | 7 Yes | 29 No |
Answer / raju
string is a value type...not reference type....we ll not
create an (instance) for that one...
| Is This Answer Correct ? | 7 Yes | 62 No |
What are different ASP.NET Web Forms with the technology different from though ASP (1.0-3.0)?
Explain the steps needed to be performed in order to create an animation in xaml?
Can master pages be nested?
How to change Master page in ASP.Net using code?
Can u able to get the xml document in crystal report if yes how its possible
what is new debug tools in asp.net ?
Can we use a static function with a non-static variable?
Explain culture and uiculture values.
How many web.copnfig can exists in a web application & which will be used ?
Define state managenent?Descibe state managenent technique which maintain the information at server site focusing it IDS features and limitations?
What namespaces are imported by default in ASMX files?
2. Why did you choose this career?
2 Answers Schwartz Oil, Swatz Oils,
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)