is there a way to remove an event handler while the program is running?
textBox1.TextChanged += (s, a) =>
            {
                JRPC.SetMemory(rgh, 0xc035261d, reverseBytes(textBox1.Text));
                JRPC.SetMemory(rgh, 0xc035261c, getBytes(Encoding.ASCII.GetBytes(textBox1.Text + "\0")));
            };
I have the code above to real time edit the players Gamertag on Xbox. When a checkbox it checked it will discover the event handler. but when I uncheck it I need it to remove this event handler I figured that I'd just do this (See below)
textBox1.TextChanged += (s, a) =>
            {
            };
But I want to know if there is a proper way to delete the event handler all together instead of leaving an open handler to do nothing.
 
    