9 lines
226 B
C#
Raw Normal View History

// CS0559: The parameter type for ++ or -- operator must be the containing type
// Line: 5
class SampleClass {
public static SampleClass operator ++ (int value) {
return new SampleClass();
}
}