Ok what i did is a bloc of codes that Validate my minimum and maximum (number), but i would like to validate just numbers, but when i enter a "letter" my program crash.. how can i fix that..<BR>if the user enter a letter the program wont crash... <BR>thanx <BR><BR><BR><BR>public static int ValidEnt(string msg, int min, int max)<BR> {<BR> int n;<BR><BR> do<BR> {<BR> Console.Write(msg);<BR> n = int.Parse(Console.ReadLine());<BR> }<BR> while (n&#060;=min &#124&#124 n&#062;=max); <BR> return n;<BR><BR> }<BR>