kalle@dhcppc3:~/Desktop> mcs MyApp.cs -pkg:gtk-sharp-2.0 && mono MyApp.exe
MyApp.cs(23,17): error CS0120: `Foo.TextEntry': An object reference is required for the nonstatic field, method or property
MyApp.cs(23,17): error CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
MyApp.cs(24,36): error CS0120: `Foo.TextEntry': An object reference is required for the nonstatic field, method or property
MyApp.cs(24,17): error CS1502: The best overloaded method match for `Gtk.Box.PackStart(Gtk.Widget)' has some invalid arguments
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error)
MyApp.cs(24,17): error CS1503: Argument 1: Cannot convert type `object' to `Gtk.Widget'
MyApp.cs(48,49): error CS0120: `Foo.TextEntry': An object reference is required for the nonstatic field, method or property
MyApp.cs(48,49): error CS0117: `object' does not contain a definition for `Text'
/usr/lib/mono/1.0/mscorlib.dll (Location of the symbol related to previous error)
Compilation failed: 7 error(s), 0 warnings