public class BeispielApp : GLib.Object { public void schreibe_nachricht() { print("Hello World!\n"); } public static int main(string[] args) { var bsp = new BeispielApp(); bsp.schreibe_nachricht(); return 0; } }