Hi all,

Recently I started using C#, I have a question: Can we redefine a class legally in C# ?

For example:

private void button1_Click(o bject sender, EventArgs e)
{
MessageBox.Show ("testing");
}

When the user click the button, it shows up a message box

If one day I want to log this action temporary,...