예제 #1
0
        static void Main(string[] args)
        {
            hesap hsp = new hesap();
            int   snc = hsp.kareal(5);


            Console.WriteLine(snc);
            Console.ReadKey();

            mathclass mc   = new mathclass();
            double    snc2 = mc.karekok(9);

            Console.WriteLine(snc2);
            Console.ReadKey();
        }
예제 #2
0
        public int topla(int b)
        {
            mathclass mc = new mathclass();

            return(b + b);
        }