using System;
public class Program
{
public static void Main()
new ExtendedNeco(1,2);
}
public class NecoBase
protected int a, b;
public NecoBase(int x, int y)
a = x;
b = y;
public class ExtendedNeco : NecoBase
public ExtendedNeco(int x, int y) : base(x, y)
Console.WriteLine($"a: '{a}', b: '{b}'");