Why strings are immutable ?
Interview question and answer by:
Bharathi Cherukuri | Posted on: 4/24/2012 | Category:
C# Interview questions | Views: 935 | |
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
Found interesting? Add this to: