How to instantiate class when it has no constructor (and only has a single public property)?

前端 未结 0 451
萌比男神i
萌比男神i 2020-12-12 05:16

I have a class that just has a single property that is used to decode a JSON response.

namespace Foo
{
    public class Bar
    {
        public int Id { get;         


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