I need to see if someone can help me with a c# programming problem

Create a class called employees that includes three pieces of information as either instance variables or automatic properties - a first name(type string), a last name (type string) and a monthly salary (decimal). Yor class should
hace a constructor that initializes the three values. Provide a pproperty with get and set accessor for any instance variable. Of the monthly salary is negative, the set accessor should leave the instance variable unchanged. Write a test application named EmployeeTest that demonstrates class Employee's capabilities. Create two Employee objects and display each object's yearly salary. Then give each Employee a 10% raise and display each Employee's yearly salary again.

Start from the definition of the class, assign private to instance variables, and public to methods.

The constructor has to accept 3 arguments, two strings and one double.

You will need accessors for each of the instance variables.

Use the main method for testing purposes.

You can post your code if you need help rectifying syntax or logic.

To solve the programming problem, you can follow these steps:

Step 1: Create the 'Employee' class
- Open your preferred C# integrated development environment (IDE) or editor.
- Create a new C# class called 'Employee'.
- Inside the 'Employee' class, declare three instance variables or automatic properties: 'firstName' (string), 'lastName' (string), and 'monthlySalary' (decimal).
- Create a constructor for the 'Employee' class that takes three parameters to initialize the instance variables.
- Implement the constructor by assigning the parameter values to their respective instance variables.
- Add a property for each instance variable with a get and set accessor, except for 'monthlySalary', which requires additional validation.
- In the 'monthlySalary' property's set accessor, check if the provided value is negative. If not, assign it to the 'monthlySalary' instance variable.

Here's an example code snippet for the 'Employee' class:

```csharp
public class Employee
{
public string FirstName { get; set; }
public string LastName { get; set; }
private decimal monthlySalary;

public decimal MonthlySalary
{
get { return monthlySalary; }
set
{
if (value >= 0)
monthlySalary = value;
}
}

public Employee(string firstName, string lastName, decimal monthlySalary)
{
FirstName = firstName;
LastName = lastName;
MonthlySalary = monthlySalary;
}
}
```

Step 2: Create the 'EmployeeTest' class
- Add another class to your project called 'EmployeeTest'.
- Inside the 'EmployeeTest' class, write the code for the test application that demonstrates the capabilities of the 'Employee' class.
- Create two 'Employee' objects using the constructor and providing appropriate values.
- Display each object's yearly salary by multiplying the 'monthlySalary' by 12.
- Give each employee a 10% raise by multiplying their 'monthlySalary' by 1.1.
- Display each object's yearly salary again using the updated values.

Here's an example code snippet for the 'EmployeeTest' class:

```csharp
class EmployeeTest
{
static void Main(string[] args)
{
// Create Employee objects
Employee employee1 = new Employee("John", "Doe", 5000);
Employee employee2 = new Employee("Jane", "Smith", 6000);

// Display initial yearly salaries
Console.WriteLine("Initial Yearly Salaries:");
Console.WriteLine($"Employee 1: {employee1.MonthlySalary * 12:C}");
Console.WriteLine($"Employee 2: {employee2.MonthlySalary * 12:C}");

// Give 10% raise to both employees
employee1.MonthlySalary *= 1.1m;
employee2.MonthlySalary *= 1.1m;

// Display updated yearly salaries
Console.WriteLine("\nUpdated Yearly Salaries:");
Console.WriteLine($"Employee 1: {employee1.MonthlySalary * 12:C}");
Console.WriteLine($"Employee 2: {employee2.MonthlySalary * 12:C}");

Console.ReadLine();
}
}
```

Step 3: Run and test the application
- Compile and run the 'EmployeeTest' application.
- Verify that the program creates 'Employee' objects and displays their yearly salaries correctly.
- Confirm that the employees' salaries increase by 10% after the raise and are displayed accurately.

That's it! You have successfully implemented the 'Employee' class and demonstrated its capabilities using the 'EmployeeTest' application.