DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
c# even or odd
int x = 2; if(x % 2 == 0){ Console.WriteLine("Is even"); } else { Console.WriteLine("Is odd"); }
Source by csharp-station.com #
PREVIOUS
NEXT
Tagged:
#odd
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit