Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 428 Bytes

File metadata and controls

7 lines (5 loc) · 428 Bytes

A string in C# is an object that represents immutable text as a sequence of Unicode characters (letters, digits, punctuation, etc.). Double quotes are used to define a string instance:

string fruit = "Apple";

Strings are manipulated by calling the string's methods. Once a string has been constructed, its value can never change. Any methods that appear to modify a string will actually return a new string.