Just MyString[0]
. This uses the String.Chars indexer.
More Related Contents:
- C# how to check if a string contains 3 times the same letters in a row [closed]
- How would you count occurrences of a string (actually a char) within a string?
- How to convert UTF-8 byte[] to string
- Splitting a string into chunks of a certain size
- Color different parts of a RichTextBox string
- How to access random item in list?
- How do I replace multiple spaces with a single space in C#?
- Way to have String.Replace only hit “whole words”
- Convert string to DateTime in c#
- Difference between string and StringBuilder in C#
- How to parse a string into a nullable int
- How to initialize a list of strings (List) with many string values
- How to convert DateTime to/from specific string format (both ways, e.g. given Format is “yyyyMMdd”)?
- String interning in .Net Framework – What are the benefits and when to use interning
- Converting string expression to Integer Value using C# [duplicate]
- Alternative to multiple String.Replaces [duplicate]
- How to extend C# built-in types, like String?
- Removing hidden characters from within strings
- Regex : how to get words from a string (C#)
- Two different “strings” are the same object instance?
- Convert string to hex-string in C#
- Using variables inside strings
- Obtain SHA-256 string of a string
- Remove file extension from a file name string
- Converting a byte to a binary string in c#
- string.Empty vs null.Which one do you use?
- ReferenceEquals working wrong with strings
- Adding a newline into a string in C#
- Using StreamReader to check if a file contains a string
- How can I create all possible combinations for a set of words without repetition?