ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  WinFX: An All-Managed API
Subject:   Hello World in WinFx?
Date:   2004-01-10 07:58:59
From:   igriffiths
Response to: Hello World in WinFx?

Since WinFX is a superset of the .NET Framework, the answer is exactly the same as it is in .NET:


class App
{
static void Main()
{
System.Console.WriteLine("Hello, world");
}
}


Of course if you want a non-console version, then you'd have to say whether you want an Avalon, ASP.NET, or Windows Forms version of Hello world. But the above is the simplest.