Skip to content

Instantly share code, notes, and snippets.

@dck-jp
Last active August 29, 2015 14:05
Show Gist options
  • Save dck-jp/16cb00318263f824545d to your computer and use it in GitHub Desktop.
Save dck-jp/16cb00318263f824545d to your computer and use it in GitHub Desktop.
NoBracketNoLife
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
var x = 0;
if (x != 0)
NoPoint(); //実行されない
MakeNoSence(); //実行される <- 視覚的にわかりづらい
}
private static void MakeNoSence()
{}
private static void NoPoint()
{}
private static void NoFuture()
{}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment