Sign In/My Account
|
View Cart
O'Reilly Home
Community
Books & Videos
Safari Books Online
Conferences
Training
School of Technology
About
Search
Search Tips
Article:
WinFX: An All-Managed API
Subject:
Hello World in WinFx?
Date:
2004-01-09 22:56:58
From:
anonymous2
How to write a simple "Hello World" program in WinFx?
Showing messages 1 through 1 of 1.
Hello World in WinFx?
2004-01-10 07:58:59
Ian Griffiths
|
[
View
]
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.
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.