Key Concepts
The System.Text namespace contains classes and types related to string manipulation, encoding, and decoding.
- String Class: `String` - Represents a string value.
- Encoding: Encoding types (e.g., UTF-8, ASCII) handle text representation.
- Decoding: Decoding types convert encoded data to readable form.
String Properties
You can access string properties using dot notation:
Example: String.Title Returns the title of the string.
Example: String.Length Returns the length of the string.
Example: String.Contains Returns true if the string contains a particular value.
Example: String.Replace Returns a new string with the specified value.
Example: String.Concat takes multiple strings and concatenates them into a new string.