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

ASP.NET/SQL find the element ID and update database -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -