Пример #1
0
 static void Main()
 {
     SqlDataAccess.GetData();
     OracleDataAccess.GetData();
     Circle.Draw();
     MyConsole.Write("Write This");
     MsAccessDataAccess.GetData();
 }
Пример #2
0
        static void Main(string[] args)
        {
            SqlDataAccess sql = new SqlDataAccess();

            Console.WriteLine(sql.GetData());

            MsAccessDataAccess ms = new MsAccessDataAccess();

            Console.WriteLine(ms.GetData());

            OracleDataAccess oracleDataAccess = new OracleDataAccess();

            Console.WriteLine(oracleDataAccess.GetData());

            //Circle circle = new Circle();
            //Console.WriteLine(circle.Draw());
        }