I have a class with a static and non-stationary interface in C #. Is it possible to have a static and non-static method in a class with the same name and signature?
I get a compiler error when I try to do this, but for some reason I thought there was a way to do this. Am I mistaken or is there no way to have both static and non-static methods in the same class?
If this is not possible, is there a good way to implement something similar that can be applied in the general case to any situation?
EDIT
From the answers I received, it is clear that there is no way to do this. I am going with a different naming system to get around this problem.
Dan Herbert Oct 01 '08 at 22:48 2008-10-01 22:48
source share