[Mono-list] Is this a bug?

Paul F. Johnson paul at all-the-johnsons.co.uk
Thu Oct 6 10:06:55 EDT 2005


Hi.

I'm not too sure if this is or isn't a bug.

>From what I can see on MSDN, a line such as

foo = Console.ReadLine().ToInt32();

should be fine. Yet if I include it in my source, I see the error

error:CS0117: `string' does not contain a definition for `ToInt32()'

Have I found a bug?

TTFN

Paul
-- 
"Logic, my dear Zoe, is merely the ability to be wrong with authority" -
Dr Who



More information about the Mono-list mailing list