IsNumeric
is only a function in VB.NET. In C#, you can use
double.TryParse
to check whether the input is numeric, and if it is, this method returns true and it stores the converted value in a variable.
double d;
bool isNumeric = double.TryParse(Request["form_next_lesson_hours"], out d);