1
Reply

Static Member ERROR.. PLEASE HELP

Boblysan

Boblysan

Sep 5 2004 5:02 AM
2.2k
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

Answers (1)