Is there a way to get something like the Type.AssemblyQualifiedName property, which differentiates between a List of strings and a List of bytes, from a System.Reflection.FieldInfo?
The FieldInfo.GetFullName() method doesn't differentiate between the 2, and I need to be able to get the offset of a field, and still differentiate between List of strings and a List of bytes.
You could access the field's type by looking at the
FieldTypeproperty of yourFieldInfoobject.EDIT
I stand corrected.
Type.Namewill not do what you want. You could useType.AssemblyQualifiedNameas you suggest or you could access the types directly by looking at the result ofType.GetGenericArguments().