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

What is entity client data provider? : Entity framework

0 Answers  


What is entity framework in asp net?

0 Answers  


Can I redirect tracing to a file

1 Answers  


What are the methods in Thread class?

3 Answers  


What is the CLS

1 Answers  


Explain what is the difference between view and partial view?

0 Answers  


How to Create an Intranet Site Using ASP.NET MVC?

0 Answers  


Explain what languages does the .net framework support?

0 Answers  


How to Insert a TextBox value in to Sql database using C#.Net coding

2 Answers  


mention what is the difference between ado.net and classic ado?

0 Answers   Microsoft,


What is different between User Control and Web Control and Custom Control?

2 Answers  


how do you query in entity model when the result has a join from from different database other than the entity model?

0 Answers   Microsoft,


Categories