using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TmpToBeDeleted
{
class ClassSQL
{
string x = "SQL";
public string Get()
{
return x;
}
}
class ClassODBC
{
string y = "ODBC";
public string Get()
{
return y;
}
}
class Program
{
static void Main(string[] args)
{
string type = "ODBC";
dynamic db;
if (type == "SQL")
{
db = new ClassSQL();
}
else
{
db = new ClassODBC();
}
Console.WriteLine(db.Get());
}
}
}