I'm new to this C # and my question is: how can I do a number validation for a calculator?
I would like to apply the validation in this part of my code:
float a, b;
Console.Write("INGRESE PRIMER VALOR: ");
a = float.Parse(Console.ReadLine());
Console.Write("INGRESE SEGUNDO VALOR: ");
b = float.Parse(Console.ReadLine());
Many thanks in advance!