using System;
class sample
{
public int i;
void display()
Console.WriteLine("The values are: ");
}
class sample1 : sample
public int j;
public void display()
Console.WriteLine(i+j);
public class Program
public static void Main(string[] args)
sample1 obj = new sample1();
obj.i = 11;
obj.j = 2;
obj.display();
Console.ReadLine();