Hello I am having problems completing thi code in C# can someone please tell what I am doing wrong.I ge Error Error 1 Program 'C:\Users\stacey ann loretta\documents\visual studio 2010\Projects\EmployeeEceptionDemo\EmployeeEceptionDemo\obj\x86\Release\EmployeeEceptionDemo.exe' does not contain a static 'Main' method suitable for an entry point EmployeeEceptionDemo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
public class Employee
{
string Wage;
int IDNum;
double hourlyWage;
public Employee() { }
public Employee(int id, double hw)
{
IDNum = id;
hourlyWage = hw;
if (hw < 6.0 || hw > 50.0)
{
IDNum = 999;
hourlyWage = 6.0;
throw new Exception(new EmployeeException(id, hw).errorMessage);
}
}
public class EmployeeException
{
public string errorMessage;
public EmployeeException(int id, double hw)
{
throw new Exception("For " + id + " Hourly Wagr is invalid\n... Hourly Wage is " + hw.ToString("C") + errorMessage);
}
}
public int getID()
{
return IDNum;
}
public Double getWage()
{
return hourlyWage;
}
}
}