Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This example shows console, WinForms and Gtk versions of "Hello, world!".

Console

Code Block
print( "Hello, world!")

WinForms

Code Block
import System.Windows.Forms

f = Form(Text: "Hello, boo!")
f.Controls.Add(Button(Text: "Click Me!", Dock: DockStyle.Fill))

Application.Run(f)

...