示例#1
0
        static void Main(string[] args)
        {
            StanKonta a = new StanKonta(5, 818);
            StanKonta b = new StanKonta(5, 89);

            Console.WriteLine(a);
            Console.WriteLine(a + b);
            float e;

            e = a;
            Console.WriteLine(e);
            a = (StanKonta)5.99;
            Console.WriteLine(a.ToString());
            Console.ReadKey();
        }
示例#2
0
 public StanKonta(StanKonta k)
 {
     this.Gr = k.Gr;
     this.Zl = k.Zl;
 }