baseclass.cs(18,41): error CS1525: Unexpected symbol `Base', expecting `base' or `this'
Codice: Seleziona tutto
using System;
public class Base{
protected int x = 0;
protected int y = 0;
public Base(int x, int y){
this.x = x;
this.y = y;
}
}
public class BasePoint : Base{
private int z = 0;
public BasePoint(int x, int y, int z) : Base(x , y){
this.z = z;
}
}
