Show/Hide Toolbars

XSharp

Class 'class' cannot have multiple base classes: 'class_1' and 'class_2'

 

The most common cause of this error message is attempting to use multiple inheritance. A class in X# may only inherit directly from one class. However, a class can implement any number of interfaces.

 

Example

 

The following example shows one way in which SC1721 is generated, and then shows two possible ways to avoid the error.

 

 

// XS1721.prg