Perform basic operations on numbers in C#
Learn the operators and techniques used to perform basic math operations on numeric data.
Learning objectives
In this module, you will:
- Perform mathematical operations on numeric values
- Observe implicit type conversion between strings and numeric values
- Temporarily convert one data type into another
Prerequisites
- Beginner level experience with basic C# syntax rules
- Beginner level experience with displaying a message to a console using the Console.WriteLine() and Console.Write() methods
- Beginner level experience with creating literal values and declare variables of basic data types like
string,int, anddecimal - Beginner level experience with string concatenation and string interpolation