Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to see if a number is even c#

bool IsEven = ( number %2) == 0
bool IsOdd = ( number %2) == 1
Source by csharp-station.com #
 
PREVIOUS NEXT
Tagged: #number
ADD COMMENT
Topic
Name
6+1 =