Created
January 18, 2010 05:42
-
-
Save KensoDev/279810 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Determines whether [is odd number] [the specified number]. | |
/// </summary> | |
/// <param name="number">The number.</param> | |
/// <returns> | |
/// <c>true</c> if [is odd number] [the specified number]; otherwise, <c>false</c>. | |
/// </returns> | |
public static bool isOddNumber(int number) | |
{ | |
if (number % 2 == 0) | |
return true; | |
else | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment