jmg3v

jmg3v

  • NA
  • 1
  • 0

Absolute beginner having a problem

May 12 2004 2:00 AM
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)