Reading Integers From The Console

In order to read an integer (not a float) number from the console, we have to declare a variable, declare the number type and use the standart command for reading information from the system console:

```csharp var num = int.Parse(Console.ReadLine());

results matching ""

    No results matching ""