C# nameof generic type without specifying type April 16, 2023 by Tarik Have you tried: typeof(T).FullName; or t.GetType().FullName; Hope it works for you.