[Mono-list] Convert.ToInt16 (string value, int fromBase) and friends

Joe Tennies joe@fatnsoft.com
17 Feb 2002 10:42:42 -0600


I'm kind of confused by your question.

Do you want some code to change a string to an int?  I could send you
that (optimized and all).

Are you just wondering if there's code elsewhere to do this?

Are you wondering if you should do bases other than 2, 8, 10, 16?

Either way.  Let me know.

On Sat, 2002-02-16 at 23:13, Duncan Mak wrote:
> Hi,
> 
> I'm working on completing the Convert class. It's really quite tedious
> but I'll be done with it really soon. The only thing that's really
> annoying now is these functions that take a string and an int that
> represents the base (must be 2, 8, 10 or 16).
> 
> I can do the others, i think , it's only a matter of typing. But I don't
> see how I should do these base conversion ones. Are there / Should there
> be some other function in the class library that'll handle this?
> 
> thanks,
> 
> Duncan.
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>