I started using the following grouping of methods to make my code more readable:
public interface IUserMethodGroup { void SomeMethodOne(); String SomeMethodTwo(); }
Does this affect performance significantly?
Change 1
This allows me to do this:
class ConsumerClass { public void Method() { MainClass mc = new MainClass(); mc.UserHandle.SomeMethodOne();
@adelphus: I have 5 similar properties (method groups). Every time I want to use a method from group I, I return to the class. Is it much slower compared to a groupless implementation?
source share