How to set a property of an attribute class in c#

后端 未结 0 1814
借酒劲吻你
借酒劲吻你 2021-01-26 07:33

I have a class with a property and an attribute to validate that property:

class Foo
{
  [Required]
  public string Name { get; set; }
}

The \'Re

相关标签:
回答
  • 消灭零回复
提交回复
热议问题