static void Main(string[] args){ double f; Console.WriteLine("请输入数字"); f = double.Parse(Console.ReadLine());}现在我要判断读入的字符,如果不是数字,则重新选择。请问怎么写?