Posts by Gabriel.ps2 • 43 points
1 post
-
4
votes2
answers820
viewsQ: Accept only numbers in the C#console app
Good evening, I’m trying to get the Console.Readline() command to read only numbers, ignoring characters, there’s a way ? example: static void main() { int x; Console.WriteLine("INSERINDO VALOR PARA…