If I have code that is executed by a button statement and I would like this code to be executed at different times from other actions can I use a goto stateent to execute it? If so how. I can't seem to find a correct way or method to label the code that is executed so the goto statement is correct.
My code looks like this. How would I name my goto statement to get here. Thanks in advance.
private void calculateBN_Click(object sender, EventArgs e)
{
"calculations"
}