Why strings are immutable ?

 Posted by Bharathi Cherukuri on 4/24/2012 | Category: C# Interview questions | Views: 1915 | Points: 40
Answer:

A string is a sequential collection of Unicode characters, which is used to represent text. A String, on the other hand, is a .NET Framework class (System.String) that represents a Unicode string with a sequential collection of System.Char structure.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response