4 ms·
> return (long)ulong.Parse(s); Why on earth would you do this instead of just letting the underlying library call throw? Note that it will still throw for str
by yaur 11y ago
> return (long)ulong.Parse(s);
Why on earth would you do this instead of just letting the underlying library call throw? Note that it will still throw for strings that parse to a value that cant fit into a long/unsigned long.