Women in Technology

Hear us Roar



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?
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Ian Griffiths photo Hello World in WinFx?
    2004-01-10 07:58:59  Ian Griffiths | O'Reilly Author [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.