This may make a lot of C# programmers cringe, but is it ok to virtual
-ize every method in a base class -- even if certain methods are never overridden?
The reason I need to do this is that I have a special case where I need to get C# to act like Java. It's actually an automatic program transformation of a Java program.
I'm thinking to mark any Java method that has no base method as virtual
, and any that do have an associated base method as override
.
Aside from a lack of flexibility, are there any other issues with doing it this way?