namespace Summeering1{ public class SummeerimisProov{ public static void Main(string[] arg){ ISummeerija sm=new Summeerija2(); sm.Alusta(); sm.Lisa(3); sm.Lisa(7); System.Console.WriteLine(sm.KysiSumma()); Summeerija2 sm2=sm as Summeerija2; System.Console.WriteLine(sm2.m[0]); } } }