Skip to content

Instantly share code, notes, and snippets.

@controlflow
Last active January 18, 2016 21:36
Show Gist options
  • Save controlflow/6653bb9cc0d0905db595 to your computer and use it in GitHub Desktop.
Save controlflow/6653bb9cc0d0905db595 to your computer and use it in GitHub Desktop.
// 1
smth?.Foo() smth.Foo()
?.Foo() .Foo()
.Foo() ?.Foo()
?.Foo() .Foo()
.Foo() ?.Foo()
.Foo(); ?.Foo();
// 2
smth?.Foo() smth.Foo()
?.Foo() .Foo()
.Foo() ?.Foo()
?.Foo() .Foo()
.Foo() ?.Foo()
.Foo(); ?.Foo();
// 3
smth?.Foo()? smth.Foo()
.Foo() .Foo()?
.Foo()? .Foo()
.Foo() .Foo()?
.Foo() .Foo()?
.Foo(); .Foo();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment