Last active
January 7, 2018 03:20
-
-
Save teekayarezee/90a780923f11ea4a8e23dd77e8ee3cee to your computer and use it in GitHub Desktop.
Smallest CSharp FizzBuzz Program
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
class P{static void Main(){for(int i=0;i++<100;)System.Console.Write($"{(i%3*i%5<1?0:i):#}{i%3:;;Fizz}{i%5:;;Buzz}\n");}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment