nave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · 1 year agoI wishi.imgur.comimagemessage-square125fedilinkarrow-up1691arrow-down19
arrow-up1682arrow-down1imageI wishi.imgur.comnave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · 1 year agomessage-square125fedilink
minus-squareScubus@sh.itjust.workslinkfedilinkarrow-up13·1 year agostring taco = variable.ToString()[variable.ToString().Length - 1]; If (taco == “0” || taco == “2” || taco == “4” || taco == “6” || taco == “8”) return true; else return false; Im something of a coding master myself
string taco = variable.ToString()[variable.ToString().Length - 1];
If (taco == “0” || taco == “2” || taco == “4” || taco == “6” || taco == “8”)
return true;
else
return false;
Im something of a coding master myself