自.NET4.5(2012)以来,出现了一些新的扩展方法,来自System.Reflection.RuntimeReflectionExtensionsclass.然而,新方法似乎并没有给我们带来任何新东西。一个例子:staticvoidMain(){varprop1=typeof(string).GetProperty("Length");varprop2=typeof(string).GetRuntimeProperty("Length");//extension,needs:usingSystem.Reflection;Console.WriteLine(prop1==prop2