N
newbie
If I am creating a concole application can I acces GUIs.
The textbook gives me the following code but I get and error stating
"type or namespace name "Windows" does not exist in class or namespace
"System" (are you missing and assembly reference?)"
I know I can do it in a Windows app but is is possible to use form in a
concole application and if so what further code do I need?
using System;
using System.Windows.Forms;
public class Contact
{
public static void Main()
{
string msg = "Hello World";
MessageBox.Show(msg,"Hello Information");
}
}
The textbook gives me the following code but I get and error stating
"type or namespace name "Windows" does not exist in class or namespace
"System" (are you missing and assembly reference?)"
I know I can do it in a Windows app but is is possible to use form in a
concole application and if so what further code do I need?
using System;
using System.Windows.Forms;
public class Contact
{
public static void Main()
{
string msg = "Hello World";
MessageBox.Show(msg,"Hello Information");
}
}