Hi, i would like to know if anyone can help me with something...<BR><BR>Soon as i get to the Province validation i would like to use the same bloc to validate but can i asign the two possible value like i did in the line of "Province" <BR><BR>thank you !!<BR><BR>==========<BR>The only accepted answern for my Province line is the number one and the number 9...<BR>==========<BR><BR>static void Main(string[] args)<BR> {<BR> int province, age, sexe;<BR> <BR> age = Validation("Your age is:",15,90);<BR> province = Validation("Province ?:", min = 1, max = 9);<BR><BR><BR> }<BR><BR> public static int Validation(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> }<BR> while (n&#060;=min &#124&#124 n&#062;=max); <BR> return n;<BR> }