In my project I have a text box. I assume user type in it float variable or text.
If user types in it float variable I need to check this variable if it is actually a float type!.
I guess some how return true or false from float.Parse(String). Is it possible?!
Instead of
Parse, useTryParse– it will returnfalseif it couldn’t parse.