Ankit Rawat

Ankit Rawat

  • 936
  • 540
  • 208.7k

Can I inherit a class from one library to another library?

Apr 18 2020 7:22 AM
in my project architecture, I have created a project and included 3 other class library projects and a class is inheriting from other library class.
 
[ex. model class is inherited in  DAL (DataAccess layer), and DAL is further inherited in BAL (BusinessAcess layer)]
 
 
then my question is what are the advantages and disadvantages of this architecture?
or
should I create an instance of the class and then call its method when required?
 

Answers (4)