Edit

Share via


'MyClass' cannot be used outside of a class

You have used the MyClass keyword outside a class structure.

Error ID: BC30470

To correct this error

  • Move the MyClass declaration into your class structure.

See also