c# code snippets

86

c# code snippets -

int num;
     String out; 
     if (num Mod 2 == 0)
          out = "Even"; 
    else 
          out = "Odd";

Comments

Submit
0 Comments