How do I change the following class/method to accept global variables and also return a value?
private void radioButton_CheckedChanged(object sender, EventArgs e)
Ideally, I want it to return either a string or a text. But that doesn't happen just by changing void to int or string and using return command inside it. Making the same public also doesn't seem to work.
Any inputs or suggestions, please?
---------------------EDIT-ADDED-LATER---------------------
What I am trying to do was for this - C# - How do I separately return int values from each radio GroupBox?