public class ExampleClass
public string property { get; private set; }
public event Action MyEvent;
public static ExampleClass Singleton {get; private set;}
public static void StaticMethod()
public void CallMyMethod()
public static void Main()
ExampleClass variable = new ExampleClass();
var b= variable.property;
ExampleClass.Singleton.Method();
ExampleClass.StaticMethod();
Action myAction = variable.Method;
variable.MyEvent += MyMethod;