Is there a way to call a non-static method from a static method?
问题 Here's what I have. public static void Person_home_phone_TextChanged(object sender, EventArgs e) { ... } Is there any way to access non-static methods from the same or another class from inside this static method? I need grab the text in the Person_home_phone text box and save it to a class data member. 回答1: Example() -> Example You would just need to create an instance of the type then call the non-static , from a static method. public class Example(){ public static void StaticExample() {