I found these two links to a description of System.Type:
These descriptions list different members. For example:
The .NET Standard version has a
Nameproperty, but the .NET 10 version doesn't.The .NET 10 version has a
FullNameproperty, but the .NET Standard version doesn't.
Interestingly, I can access both properties:
List<int> l = [];
Type g = l.GetType();
Console.WriteLine($"Name:{g.Name}\nFullName: {g.FullName}");
Console.WriteLine("Generic arguments:");
Console.WriteLine($"Generic type: {g.GetGenericArguments()[0].Name}");
When I read the description for .NET 10 only, I wouldn't know that a Name property exists.
Can someone please explain what the different class descriptions mean? I run Windows 11.
NameandFullNamein the property list,NameandFullNamein the list of properties.