J
Johnny van Cadsand
Hi,
I know how inheritance works.
But do i have to put all the inherited class files in the same
directory as the class file which inherits is in?? (VB.NET)
When i have a baseclass which i want to use in different solutions, then
i add the class to a solution. The IDE copies the file to the other
solution folder and i have 2 copies of the same class file.
The idea of inheritance is reusable code, but when i have 2 identical
files on different locations do i have to edit them both when something
changes to my baseclass???
Should i use a dll? I know it's a possible solution but not the most nice
one.
Why hasn't MS thought about this?
Has anyone an explanation?
--
==============================================================
Johnny van Cadsand news ( ) cadsand ! demon ! nl
..:: Up to the Sky and Back ::..
I know how inheritance works.
But do i have to put all the inherited class files in the same
directory as the class file which inherits is in?? (VB.NET)
When i have a baseclass which i want to use in different solutions, then
i add the class to a solution. The IDE copies the file to the other
solution folder and i have 2 copies of the same class file.
The idea of inheritance is reusable code, but when i have 2 identical
files on different locations do i have to edit them both when something
changes to my baseclass???
Should i use a dll? I know it's a possible solution but not the most nice
one.
Why hasn't MS thought about this?
Has anyone an explanation?
--
==============================================================
Johnny van Cadsand news ( ) cadsand ! demon ! nl
..:: Up to the Sky and Back ::..