We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
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.
|