Horje
c# is odd number Code Example
c# is odd number
// using modulo operator %
if(num%2 == 0){
  Console.WriteLine("Number is even")
}else{
  Console.WriteLine("Number is odd")
}




Csharp

Related
stringify c# Code Example stringify c# Code Example
how to convert degrees to radians Code Example how to convert degrees to radians Code Example
remove element from sting array c# Code Example remove element from sting array c# Code Example
c# add multiple items to list Code Example c# add multiple items to list Code Example
how to check if the value is alphabet and numbers only only in c# Code Example how to check if the value is alphabet and numbers only only in c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9