Better way to do sentinel in C#?

后端 未结 0 473
不思量自难忘°
不思量自难忘° 2021-01-27 16:06

I am using null as a sentinel/trip value to break out of foreach:

private VacantSummaryPage SelectPropertyFromDb(string sql)
{
    VacantProperty vac         


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