Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 6
https://stackoverflow.com/questions/377990/elegantly-determine-if-more-than-one-boolean-is-true
try the methods here. this can be used for counting using bool. it is for c#
+ 6
It should. Hope it does for u too
+ 6
:( I wish I knew c# better
+ 4
bool is only 0 or 1
+ 4
an array of bool?
+ 4
what have you got so far? have you any code?
+ 4
this looks like c++ not c#