you could try:
if (int.TryParse(input, out tinggi)) { ...code here } else { Console.WriteLine("something in that language"); }