[Mono-list] Newbie question

jojolapin-mono@altern.org jojolapin-mono@altern.org
Mon, 12 Aug 2002 00:56:16 +0200 (CEST)


Hello, i have just discovered mono and c#, so sorry for the newbie question.
I have tried to compile a c# source that does that

using System;
...
int partants;
partants=Console.ReadLine().ToInt32();
...


But i get the following error message:
Pronos.cs(27) error CS0117: `System.String' does not contain a definition for `ToInt32'

Has this function not been implemented, or am i wrong somewhere ?

Sorry for my terrible englisch

Cya