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 - Updating recent updates - Problem in procedure - Any other approach? -