[Mono-list] My code runs on the Visual C # 2010, but in monodevelop 2.8 does not work. What is it?

Stifu stifu at free.fr
Wed Oct 12 12:10:09 EDT 2011

"and always returns the error message"

What error message?

By the way, you could try splitting the line that triggers the error into 2
lines, to see which operation fails:

idade = int.Parse(Console.ReadLine());

Would become:

string temp = Console.ReadLine();
idade = int.Parse(temp);

mazoni_ wrote:
> Good morning,
> I'm trying to run this code in monodevelop 2.8:
> http://paste.ubuntu.com/706701/
> and always returns the error message in line 27. In Visual C # I convert
> int to string variable with parameter Parse (Console.ReadLine ()). How
> should this be done in monodevelop so I run my code without error?

View this message in context: http://mono.1490590.n4.nabble.com/My-code-runs-on-the-Visual-C-2010-but-in-monodevelop-2-8-does-not-work-What-is-it-tp3897944p3898582.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list