According to the document interface, MSDN can be a member of a class or namespace:
for example, I can declare:
public class Test { public interface IMemberofTest { void get(); } }
What is the use of an interface inside a class? Wouldn't that violate the purpose of using a real interface?
source share