csharp-泛型

public T List_obj<T>(T obj)
{
T result = default(T);
if (obj is T)
{
result = (T)(object)obj; //或 (T)((object)model);
}
return result;
}