Hi,
I was wondering if setting an object to null will clean up any eventhandlers that are attached to the objects events...
e.g.
Button button = new Button();
button.Click += new EventHandler(Button_Click);
button = null;
button = new Button();
button.Click += new EventHandler(Button_Click);
button = null;
etc...
Will this cause a memory leak?