Triggering a non-static class from a static class?
问题 I am writing a class library(API) in C#. The class is non-static and contains several public events. Is it possible to trigger those events from a static method in a separate class? For example... class nonStaticDLLCLASS { public event Event1; public CallStaticMethod() { StaticTestClass.GoStaticMethod(); } } class StaticTestClass { public static GoStaticMethod() { // Here I want to fire Event1 in the nonStaticDLLCLASS // I know the following line is not correct but can I do something like