Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/t4018/csharp-exclude-control-statements # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / t4018 / csharp-exclude-control-statements` 34 lines ยท 605 bytes Raw Blame History 1 class Example 2 { 3 string Method(int RIGHT) 4 { 5 if (false) 6 { 7 return "out"; 8 } 9 else { } 10 if (true) MethodCall( 11 ); 12 else MethodCall( 13 ); 14 switch ("test") 15 { 16 case "one": 17 return MethodCall( 18 ); 19 case "two": 20 break; 21 } 22 (int, int) tuple = (1, 4); 23 switch (tuple) 24 { 25 case (1, 4): 26 MethodCall(); 27 break; 28 } 29 30 return "ChangeMe"; 31 } 32 33 string MethodCall(int a = 0, int b = 0) => "test"; 34 }