0 10 20 30 40 50 60 70 80 90 100 464043 0
You are not logged in

Welcome to type with code

Start typing or press to get going!

The csharp code you'll be racing to type out is all about:

Getting a character from a string

A string is some text such as "Hello"

A character is a single letter or digit.

Sometimes it's useful to get the 1st, 2nd or whichever character from a string.

This example gets the first character of a string called name and stores it into a variable called first_letter