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
How Can assign alias name for ASP.NET Web API Action?
Why is xap important?
What is the difference between visual basic and asp.net?
in which protocol ASP.NET WEB API Work?
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 GAC in ASP.NET 2.0
What is http pipeline in asp.net?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
How will you load dynamic assembly? How will create assesblies at run time?
6. Tell us about a time when you failed to meet a deadline. What were the repercussions?
What is variable and constant in .net programming language?
Where can I get information on cookies in asp.net?
We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?
What is http response header?
Why we are using mvc instead of asp.net? : Asp.Net MVC