BlackStone Posted June 23, 2005 Posted June 23, 2005 I have an abstract class that contains an abstract method which has many classes inheriting from it. I am thinking about changing this to a delegate, but I am wondering if there would be any reason I shouldn't (any performance difference, for example). Anyone have any ideas? Quote "For every complex problem, there is a solution that is simple, neat, and wrong." - H. L. Mencken
Administrators PlausiblyDamp Posted June 23, 2005 Administrators Posted June 23, 2005 It really depends on what the method is used for and if you need to change it dynamically at run time or not. Without knowing more about the architecture it is difficult to make a decision. Also under 1.0 / 1.1 delegates are slower then virtual functions although this is being addressed in 2.0 Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.