Static Member ERROR.. PLEASE HELP
Could someone PLEASE tell me why I am getting the following error for the section of code mentioned below...?
Static member 'member' cannot be accessed with an instance reference; qualify it with a type name instead
if (task0.taskState == TaskId.taskState.alerting)
{
}
TaskId is an object within my project.
If anyone can tell me why I am getting error it would be very much appreciated.
Thank you.
Bob