Explore BrainMass
Share

Explore BrainMass

    Classes and inheritance in C#

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Here is what I have and what I need. I have created a class called Employee that includes the attributes of employees of an organization. I have added more classes that inherit from the employees class. What I need is to have the program ask a user to enter attributes for members of the subclass on a single form. I need to include a second form that will display whether or not the search has found any results.
    Such as, the user enters "Fabricates Parts" and the display is "Welder". I have attached my source code that contains all classes and the two forms.

    © BrainMass Inc. brainmass.com October 10, 2019, 6:10 am ad1c9bdddf
    https://brainmass.com/computer-science/c-sharp/classes-inheritance-c-sharp-532347

    Attachments

    Solution Preview

    The solution contains attached the complete Visual Studio C# project and an executable. The search will apply on any of the three attributes. The three attributes in ...

    Solution Summary

    The solution is a C# project demonstrating classes and inheritance. Different employee classes inherited from base class. Search is done on base class attributes.

    $2.19