📅  最后修改于: 2022-03-11 14:48:39.691000             🧑  作者: Mango
Record record = new Record();
PropertyInfo[] properties = typeof(Record).GetProperties();
foreach (PropertyInfo property in properties)
{
property.SetValue(record, value);
}