Với mã này:Làm thế nào tôi có thể trả về một giá trị bool từ rất nhiều bool nullable?
private bool AtLeastOnePlatypusChecked()
{
return ((ckbx1.IsChecked) ||
(ckbx2.IsChecked) ||
(ckbx3.IsChecked) ||
(ckbx4.IsChecked));
}
... Tôi đứng sững lại trong các bài hát của tôi với
Operator '||' cannot be applied to operands of type 'bool?' and 'bool?
Vì vậy, làm thế nào để thực hiện điều này?
Trong trường hợp này, bốn. –
http://www.merriam-webster.com/dictionary/plethora –