One of the most common types of data are numbers. The most common types in .NET Standard 2.0 for working with numbers are shown in the following table:
Namespace | Example type(s) | Description |
|
| Integers, that is, positive and negative whole numbers. |
|
| Cardinals, that is, positive whole numbers. |
|
| Reals, that is, floating point numbers. |
|
| Accurate reals, that is, for use in science, engineering, or financial scenarios. |
|
| Arbitrarily large integers, complex numbers, and quaternion numbers. |
You can read more at the following link:https://docs.microsoft.com/en-us/dotnet/standard/numerics
Create a new console application named WorkingWithNumbers
in a solution named Chapter08
.