Simple Project for Visual C#

Your task for this project is to develop part of an object-oriented program for a human resources system for making payments for employees. Your system must handle two types of payments:

• Fixed payments – where the amount paid to an employee is based upon a fixed amount, with no variation due to performance;

• Prorata payments – where the amount paid to an employee depends upon performance factors, e.g., hours worked or value of goods sold.

Your system must also handle three ways of paying employees:

• Salary – an employee who is paid based on an annual rate (fixed);

• Wage – an employee who is paid hourly (prorata);

• Sales commission – an employee who receives a base salary plus receives an additional bonus based on percentage of sales (fixed and prorata).

Your program must include the following:

• You must apply both inheritance and interfaces in your solution – this will require defining more than one class and interface;

• You must demonstrate accessing your data polymorphically in several ways, including the use of both ToString() method and your own polymorphic methods;

• You must use the provided Employee class and (partially complete) Main method;

Note that the actual classes, inheritance hierarchy, and interfaces that you use in your program are up to you. Marks will be awarded for the correct application of object-oriented concepts learned in the unit to date, including:

• Class definition – instance variables, properties, and, methods;

• Correct application of abstraction and encapsulation;

• Correct application of inheritance and interfaces;

• Correct demonstration of polymorphic behavior;

Hint 1: Before starting, consider carefully how your program should be structured in terms of inheritance and interfaces. Taking the time to decide on how to represent these concepts in your application will save you a great deal of time later.

Hint 2: If you are receiving error messages about inconsistent accessibility, make sure you use the public accessibility level on each of your classes.

Note: Your output does not need to match the example below, however your output must similarly break down the information (the second and third sets of output below represent the remuneration data being accessed polymorphically in different ways).


Benita's remuneration: $60,000.00 salary

Pete's remuneration: $35,000.00 base salary plus 5.00% of total sales

Travis's remuneration: $25.00 hourly wage wage

Fixed payment remunerations:

Benita receives $60,000.00 salary

Pete receives $35,000.00 base salary

Prorata payment remunerations:

Pete receives 5.00% of total sales

Travis receives $25.00 hourly wage

Note: The following class must be used in your program, unchanged.

using System;

namespace Project_2


public class Employee


private string _Name;

public string Name


get { return _Name; }


private Remuneration _Remuneration;

public Remuneration Remuneration


get { return _Remuneration; }


public Employee(string name, Remuneration remuneration)


_Name = name;

_Remuneration = remuneration;


public override string ToString()


return [url removed, login to view]("{0}", _Name);




Program Class / Main Method

Note: The code provided in the Main method below must be used in your program, unchanged. You may write your own code in the Main method at the indicated location.

using System;

namespace Project_2


public class Program


static void Main(string[] args)


Employee [] workers = new Employee[] {

new Employee("Benita", new Salary([url removed, login to view])),

new Employee("Pete", new SalesCommission([url removed, login to view], [url removed, login to view])), new Employee("Travis", new Wage([url removed, login to view]))


[url removed, login to view]("Workers:");

foreach (Employee emp in workers)

[url removed, login to view]("\t{0}'s remuneration: {1}", emp, [url removed, login to view]); [url removed, login to view]();





Habilidades: Programação C, Programação C#, Microsoft, Gestão de projetos, Arquitetura de software

Veja mais: fixed payments prorata payment, simple project visual, fixed prorata payment types object oriented classes, remuneration data accessed polymorphically different ways, ways to represent data, the value of project management, structured programming, string c programming, string c plus plus, return oriented programming, project management hourly rate, programming resources, programming inheritance, programming encapsulation, programming definition, programming data types, programming concepts, programming class definition, programming abstraction, object oriented programming terms

Acerca do Empregador:
( 17 comentários ) Chadstone, Australia

ID do Projeto: #4514815

Concedido a:


I've already done similar project...

$32 AUD em 1 dia
(474 Comentários)

9 freelancers estão ofertando em média $61 nesse trabalho


Hi, I would like to do this project please. Let me know if you are interested so I can start. Thanks.

$35 AUD in 0 dias
(81 Comentários)

Please, See my private Message.

$294 AUD in 3 dias
(12 Comentários)

Let me help you

$30 AUD em 1 dia
(21 Comentários)

Hello sir. I can do this job. Please, contact me to make agreemanet Regards vladang

$35 AUD in 3 dias
(12 Comentários)

Hi, It's simple, I can do it.

$30 AUD em 1 dia
(4 Comentários)

hi. let's start.

$33 AUD in 3 dias
(0 Comentários)

I would like to do this project.

$30 AUD em 1 dia
(0 Comentários)

Hi, i am very interested to do your work.

$30 AUD in 3 dias
(0 Comentários)