2
Answers

Absolute beginner having a problem

jmg3v

jmg3v

20y
1.7k
1
I just started programing today using a C# text book as one of my resources. I am using .NET 2003. the first programming example in the book wont compile. here is the code : using System; using System.Object.Windows.Forms; class Welcome4 { static void Main(string [] args ) { MessageBox.Show( "Welcome\nto\nC#\n programming!"); } } very simple, but here is the error message i recieve : The type or namespace name 'Windows' does not exist in the class or namespace 'object' (are you missing an assembly reference?) maybe I have some settings wrong or something? Any help would be appreciated.
Answers (2)