Microsoft .Net Framework Interview questions and answers FAQ's,
.Net 2.0, .Net 3.0, .Net 3.5,
WPF - WCF, C#.NET, ASP.Net, VB.Net,ADO.Net, Web & desktop development questions.
Friday, August 28, 2009
Why string are called Immutable data Type ?
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.