Skip to content

Instantly share code, notes, and snippets.

@tesfabpel
Created May 7, 2021 18:02
Show Gist options
  • Select an option

  • Save tesfabpel/b719914e34a09a43f165d757caeb3cae to your computer and use it in GitHub Desktop.

Select an option

Save tesfabpel/b719914e34a09a43f165d757caeb3cae to your computer and use it in GitHub Desktop.

Revisions

  1. tesfabpel created this gist May 7, 2021.
    20 changes: 20 additions & 0 deletions tab_and_spaces.cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    public class Foo
    {
    // ...

    public void Bar()
    {
    while(BazBaz()
    && BarBar())
    {
    // The && under the while are
    // formatted using space.
    // Tab is used to indent up to the
    // current indentation level.
    }

    var foo = new Foo(some,
    thing,
    here);
    }
    }