Skip to main content

Timeline for Tips for code-golfing in C#

Current License: CC BY-SA 2.5

7 events
when toggle format what by license comment
Feb 19, 2022 at 8:05 comment added bazzilic Be advised that starting with C# 9 you can use top-level statements thus making the smallest compilable program exactly 0 bytes (docs.microsoft.com/en-us/dotnet/csharp/fundamentals/…)
Mar 27, 2018 at 14:54 comment added user202729 @Metoniem That requires a return something.
Feb 14, 2017 at 14:14 comment added Metoniem Actually, that's not true. It compiles using static int Main() as well, which would be 28 characters.
Jul 19, 2016 at 15:07 comment added user8397947 As a C# golfer, you're really competing against the language Unbelievably related
Jan 31, 2011 at 14:55 history edited Nick Larsen CC BY-SA 2.5
made ebtter
Jan 31, 2011 at 14:47 comment added jcolebrand This does usually involve ternary as well ;)
Jan 31, 2011 at 14:46 history answered Nick Larsen CC BY-SA 2.5