public void setSide(int s) {
class square: Shape, Cost {
public int getCost(int area) {
public class SquareInheritance {
public static void Main(string[] args) {
square sq = new square();
Console.WriteLine("The area is: {0}", sq.getArea());
Console.WriteLine("The cost is: {0}", sq.getCost(area));