compact framework - c# integer validation compactframework -


using .net compact framework 2.0, how can validate integer (int32.tryparse not supported on compact framework)?

what mean "validate"? mean parse without throwing?

static bool tryparse(string s, out int value)         {     try     {         value = int.parse(s);         return true;     }     catch     {         value = 0;         return false;     } } 

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -