DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
check if number is even or odd c#
int
i
=
5
;
if
(
i
%
2
==
0
)
{
// even
}
else
{
// odd
}
PREVIOUS
NEXT
Tagged:
#check
#number
#odd
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit