Properties use if - else on set? or on get?

前端 未结 0 1954
夕颜
夕颜 2020-12-17 16:14

Is a performance question, i am using a class like example below: I have two properties Status and Price.

public class Customers
{
    public bool Status {get         


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