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

Bjoern Schiessle bes@schiessle.org
Fri, 15 Apr 2005 22:12:11 +0200


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

-- 
 ,= ,-_-. =.  Bjoern Schiessle                   <bes@schiessle.org>
((_/)o o(\_)) http://www.schiessle.org  Jabber IM: <bes@amessage.de>
 `-'(. .)`-'  If art interprets our dreams, the computer
     \_/      executes them in the guise of programs!