Answer Posted / 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 |
Post New Answer View All Answers
Explain about the Class view window?
Explain a program using code nuggets to create a simple application? : asp.net mvc
What is a web api endpoint?
what is the difference between response.write() and response.output.write()?
How you will handle session when deploying application in more than a server?
I’m having some trouble with cas. How can I diagnose my problem?
What are the HTML server controls in ASP.NET?
What is validation in asp.net?
Explain server-side scripting?
List of words of preprocessor in .net?
How does a content page different from a master page?
Why would anyone need to implement their own hashtable or linked list?
What is difference between view state and session state?
Explain different types of Caching techniques in ASP.NET?
1.what is the application pool. 2.what is the HttpModile and Http Handler. 3.C# 3.0 Features ? 4.Anonoymous Type,methopd and claas in 3.0? 5.difference between statsic and const ? 6.session vs application 7.state management clint side and server side ? 8.Genric list 9.c# 3.0 vs 3.5