Sir, i had been looking for on my StackOverflow and I didn’t find the best answer about this problem, can you help me why the method cannot be accessed with an instance reference; qualify it with a type name instead
Hi, it needs to be capital “S”, so:
case ShowResult.Finished:
case ShowResult.Skipped:
case ShowResult.Failed:
2 Likes
solofo has the right of this.
ShowResult is an Enum type, so ShowResult.Finished.
showResult is a variable which can be ShowResult.Finished.
thankyou sir
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.