Why string are called Immutable data Type



Why string are called Immutable data Type..

Answer / kirti

The memory representation of string is an Array of Characters, So on re-assigning the new array of Char is formed & the start address is changed . Thus keeping the Old string in Memory for Garbage Collector to be disposed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

Where is the new functionality in the .net framework 3.0 (such as wcf, wf, wpf, and cardspace) installed to? Is that different from where the .net framework 2.0 is installed to?

0 Answers  


what is .NET ?

18 Answers   TCS,


what is explicit loading?

0 Answers   Microsoft,


What is the necessity for singning an assembly with a strong name?

1 Answers   L&T,


Does razor engine supports for tdd?

0 Answers  






What are the types of assemblies and where can u store them and how ?

11 Answers   Accenture, BirlaSoft, IBM,


Which is the best institute for .net?

16 Answers  


Does Tempdata hold the data for other request in ASP.Net MVC?

0 Answers  


What is poco proxy? : Entity framework

0 Answers  


How do I change the permission set for a code group

1 Answers   4Cplus,


Explain the new features added in version 4 of mvc (mvc4)?

0 Answers  


What is the difference between tempdata and viewbag?

0 Answers  


Categories