Absolute beginner having a problem
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.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Andrzej WegierskiRank #1,729 · 877 reputationPosted May 11, 2004, 10:21 PM EDT
spgilmoreRank #1,616 · 964 reputationPosted May 12, 2004, 1:05 PM EDT