C#: how to get first char of a string? -


can first char of string retrieved doing following?

mystring.tochararray[0] 

just mystring[0]. uses string.chars indexer.


Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -