Skip to content

Instantly share code, notes, and snippets.

@Descalon
Descalon / fizzbuzz.cs
Last active December 19, 2015 12:19 — forked from JeremyMorgan/fizzbuzz.cs
My most compact, sensible and readable answer to the FizzBuzz problem.
using System;
namespace CrapTester_vs10 {
public class Program {
static void Main(string[] args) {
string s;
for (int i = 1; i < 100; i++) {
s = "";
if (i % 3 == 0)
s += "Fizz";
if (i % 5 == 0)