How to shorten a null check with null propagation?

后端 未结 0 1088
生来不讨喜
生来不讨喜 2021-01-28 05:48

Consider the following class structure:

class People {
    public Demographics Demos { get; set; }
}
class Demographics {
    public int? MedianHouseholdIncome {          


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