Need help for code to detect last number
Im new to c# and still learning and couldnt find anything useful online and I really need some help
Class:
Program:
I want that, whenever the "dia" (day) last digit is 5, the method "Torneio" gets called. Quick help would be appreciated :)
(Any questions about my code, will be whiling to answer and show more details if needed)
3 Replies
ps: Dias.dia % (5) was the best that I could find online but didnt work
pretty much don't even need to click the link