[C#]
using System;
namespace ProvaApp
{
class Prova
{
static void Main (string[] arg)
{
MessageBox.Show("Ciao questa è una prova");
}
}
}
[/C#]
per compilare ho provato sia
csc Prova.cs
che anche
csc /target:winexe Prova.cs
In tutti e due i casi mi esce questo messaggio di errore nella console
Prova.cs(9,7): error CS0246: The type or namespace name 'MessageBox' could
not be found (are you missing a using directive or an assembly
reference?)
Dove sbaglio?