Yes, you can get access to the source code of .NET libraries. Please see:
http://referencesource.microsoft.com[
^].
See also my comment to the question. Instead of
Convert
, use parsing methods like
int.Parse
and
int.TryParse
.
Convert
class is useful in number of other cases.
—SA