DateTime datetime = new DateTime();
Type type = datetime.GetType();
foreach (System.Reflection.PropertyInfo property in type.GetProperties())
{
Console.WriteLine(property.Name);
}
Console.ReadLine();
C# 反射
最新推荐文章于 2024-07-30 18:57:44 发布