Validating numeric values in c sharp