Created
May 25, 2022 03:23
-
-
Save niemyjski/87162eaab78132ac7630c1c868f35312 to your computer and use it in GitHub Desktop.
valid C# program containing 16 keywords in a row (https://twitter.com/KirillOsenkov/status/1529288974757339136?s=20&t=o5L0FUf350joCBFpFkQdNQ)
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
#if false | |
throw null; | |
#else | |
#endif | |
unsafe get @event(ref string @as, byte? @throw = sizeof(double)) | |
{ | |
lock(typeof(get)) {} | |
try | |
{ | |
return default(uint) switch | |
{ | |
new uint() => default(get), | |
_ => default(get) | |
}; | |
} | |
catch when (true is not false && false is not true) | |
{ | |
} | |
finally | |
{ | |
} | |
#if true | |
return default; | |
#else | |
return default; | |
#endif | |
} | |
public readonly struct @get | |
{ | |
public readonly uint @set; | |
private readonly string @out; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment