How do I do this in C#?
using System; namespace TestProperties28373 { class Program { static void Main(string[] args) {
Use System.Reflection and PropertyInfo
System.Reflection