Why can delegates can be used interchangeably for Class methods and Static functions?
问题 I've been using delegates for many years, and haven't really given them much thought. But I recently got egg on my face by assuming that delegates included a this reference in the signature when referencing a class method. The below example illustrates the gap in my understanding. public class SomeClass { public SomeClass(int someProperty) { SomeProperty = someProperty; } public int SomeProperty { get; set; } // Throw in a Member field into the mix public int ClassAdd(int x, int y) { return x