Hi i am doing very basic c# coding where just checking odd and even number however how i can re-enter input while i am converting a string into integer at one place.
if (i % 2==0) { Console.WriteLine("even"); Console.WriteLine("enter again", i); } else if(i%2!=0) { Console.WriteLine("odd"); Console.WriteLine("enter again", i); enter code here } Console.ReadKey();