[Gtk-sharp-list] basic question about event handlers

Carlos Alberto Cortez calberto.cortez@gmail.com
Fri, 15 Apr 2005 15:33:29 -0500


Hello,

As long as I know, object is an alias for System.Object (not for
Gtk.Object). The same happens for other types, like int (System.Int32)
and string (System.String).

Carlos.

El vie, 15-04-2005 a las 22:12 +0200, Bjoern Schiessle escribió:
> Hello,
> as long as i use Mono/C#/Gtk# i think about one question and couldn't
> find a answer.
> A event handler looks like this:
> void ButtonClicked(object obj, EventArgs args)
> or:
> void ButtonClicked(System.Object obj, EventArgs args)
> 
> But why can i use the type 'object' with a small 'o'?
> All types on C#/Gtk# has a capital letter as first letter, only the
> 'object' for the event handler has a small 'o'.
> I found System.Object, Gtk.Object and object. But what is the task of
> 'object' and why does it exist beside System.Object and Gtk.Object?
> 
> Can someone explain this to me?
> 
> Thanks
> Bjoern
>