Tag Archives: PropertyInfo

Use reflection to list SystemInformation properties in C#

This example shows how you can use reflection to get the properties defined by the SystemInformation class. The SystemInformation class is chock-full of useful properties that give information about system parameters. These include such values as the thickness of a … Continue reading

Posted in reflection | Tagged , , , , , , , , , , , | 2 Comments

Use reflection to list a class’s properties in C#

This post begins a short series on using reflection. The tools that make C# work (such as the .NET Framework and the compiler that turns C# into IL code) use techniques that require them to learn a lot about the … Continue reading

Posted in reflection | Tagged , , , , , , , , , , | 4 Comments