'This' Reference for Generic Types
using System; public class Starter{ public static void Main(){ MyGenericClass<int> obj=new MyGenericClass<int>(); obj.MethodA(); } } class MyGenericClass<T> { public T MethodA() { T var=default(T); Console.WriteLine(this.GetType().ToString()); return var; } }