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
What do you mean by query string?
explain code with multi inhertance
Explain cookies with example.
Will session work if cookies is disabled?
What is masterpage?
i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?
What is session state server?
What is the request flow used for asp.net mvc framework? : asp.net mvc
Which method is used to perform all validation at the page level?
What are the Types of object in asp
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
Why is mvc better than asp.net?
What is the differences between a primary key and a unique key in sql server?
What is strong-typing versus weak-typing?
Describe how to implement globalization and localization in the use interface in .net.