Em Qui, 2006-03-16 às 16:49 +0100, Salvatore Scarciglia escreveu:
> On Thu, 16 Mar 2006 15:16:33 +0000
> Colin JN Breame <[EMAIL PROTECTED]> wrote:
> 
> > I would expect it to throw a System.FormatException like Convert.ToInt32.
> > How does this compare to the MS CLR behaviour?  Is this a bug or a feature?
> 
> What does it happens if you try to do assign the result of:
> 
> System.Convert.ToSingle("")
> 
> to a variable ? 
> 
> Maybe the problem is in the System.Console.WriteLine method !?

$ booish
Welcome to booish, an interpreter for the boo programming language.

Running boo 0.7.5.2013.

The following builtin functions are available:
    dir(Type): lists the members of a type
    help(Type): prints detailed information about a type
    load(string): evals an external boo file
    globals(): returns the names of all variables known to the
interpreter

Enter boo code in the prompt below.
>>> System.Convert.ToSingle("0") == 0
true
>>> System.Convert.ToSingle("") == 0
true
>>>

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to