0 10 20 30 40 50 60 70 80 90 100 85229 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:

Create and use a function

A function is like a procedure except that it always returns a value.

This return value is calculated when the function is called and can be saved into a variable or used later in the program.

Both functions and procedures are sections of code that have been given a name, which can be re-used to do something useful.

This example defines a function which chooses a random word. This function is called twice with the return value being stored into separate variables.

0 WPM
0%
0s
0%