K
Keith
Hello,
I have some binarystrings in the registry (from an older j++ app) that I
need to convert at runtime to ints. What is the best practice for this? In
J++ you could just call Integer.ParseInt(val, 2); I've tried
Convert.ToUInt32(object, int) but I can't get the compiler to believe that
is a valid overload; it keeps complaining that it can't convert an int to an
IFormatProvider, which is a different overload.
Is that convert function broken? Is there another way to do this or am I
just screwed?
Keith
I have some binarystrings in the registry (from an older j++ app) that I
need to convert at runtime to ints. What is the best practice for this? In
J++ you could just call Integer.ParseInt(val, 2); I've tried
Convert.ToUInt32(object, int) but I can't get the compiler to believe that
is a valid overload; it keeps complaining that it can't convert an int to an
IFormatProvider, which is a different overload.
Is that convert function broken? Is there another way to do this or am I
just screwed?
Keith