✅ `T` always value for `nameof`

        int id = nameof(T).GetHashCode();
        Console.WriteLine(nameof(T));

how come nameof(T) always returns T instead of the type of the generic argument?
Was this page helpful?