Learn

No matter what you want to make in C#, you’ll need numbers!

Art: what are the dimensions of your canvas?
Games: how fast can your player move?
Business: how much does your product cost?

In this lesson, we’ll look at a few of the most commonly used numerical data types in C#. By the end of this lesson, you will be able to manipulate numerical data and write programs that perform calculations using arithmetic operators and built-in methods.

Instructions

Take a look at the C# program in the code editor window. What do you think it will do? Run the code and see if you’re correct.

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?