to print all names of Fields and Properties of TestType use:
foreach (FieldOrProperyInfo info in typeof(TestType).GetTypeInfo().GetPropertiesAndFields()) {
Console.WriteLine(info.Name);
}
For further information about using features of this package visit this.
Download this package in your NuGet Client or here Supported Frameworks:
Starting with version 1.1 C#8 nullability is provided
This project has been published by Tobias Brohl under MIT License.
Please report any Bugs here, then I can fix them probably within 24h!
You can find attribution for all libraries used here.
Please review this before contributing.