J
Just D
All,
What are advantages and disadvantages of these two different approaches?
1 . I create a base class with a few virtual methods, then I derive my
classes from this class, override these methods and use this class.
2. I work with the interface, same for each class, just define it for every
class
What is faster in .NET? I supposed that deriving from the base classes.
The main purpose was to create a few classes of the second level having the
same method names like Initialize(), Update(), Get(), Sage(). Add() etc.
Thanks,
Dmitri
What are advantages and disadvantages of these two different approaches?
1 . I create a base class with a few virtual methods, then I derive my
classes from this class, override these methods and use this class.
2. I work with the interface, same for each class, just define it for every
class
What is faster in .NET? I supposed that deriving from the base classes.
The main purpose was to create a few classes of the second level having the
same method names like Initialize(), Update(), Get(), Sage(). Add() etc.
Thanks,
Dmitri