using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.IO;
namespace ConnTest
{
class Program
{
public Program()
{
Test<string> test = new Test<string>();
Console.WriteLine(test.getResult("abcdefg"));
}
static void Main(string[] args)
{
new Program();
Console.ReadLine();
}
}
class Test<T>
{
public string getResult(T t)
{
return "Your value:" + t.ToString() + " Type:" + t.GetType().ToString();
}
}
}