Abstract Class - 500 pts

I have a business layer dill where each class inherits a base class, the base class provides at the moment a proxy for a web service, it will also contain in the future other settings which can be used by the business layer classes, is this the best way to do it?

Or should I just create a shared class which exposes numerous methods

Who is Participating?
Hello  rocky050371,
           I would suggest you to not to use the shared class as it may create a problem it is called again and again and you have to refresh it.

      The best way to do it is to have the base class insdtatntiated as said by you and use all the properties and methods inside that rather than shared one.

will the methods be implemented differently for each class?  If not, then one shared class for static methods seems to be the most efficient
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.