Interface inheritance in C#

interface IShape {
    int LineCount { getset; }
    int GetArea();
}

class Square : IShape {
    public int LineCount { getset; }
    public int SideLength { getset; }

    public Square(int sideLength) {
        SideLength = sideLength;
        LineCount = 4;
    }

    public int GetArea() {
        return SideLength * SideLength;
    }
}

var square = new Square(5);
var area = square.GetArea();
//area is 25