0 10 20 30 40 50 60 70 80 90 100 40119 0

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:

Casting (converting) to an integer

Often it's useful to round a decimal number (real data type) to a whole number (integer data type).

It can also be useful to convert a string representation of a number (e.g. one typed in by the user) to an integer

This example converts the string "1000" to the integer 1000

0 WPM
0%
0s
0%