File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -111,11 +111,12 @@ private static void TupleDeclarations()
111111
112112 // <SnippetNamedTuple>
113113 ( string Alpha , string Beta ) namedLetters = ( "a" , "b" ) ;
114- Console . WriteLine ( namedLetters . Alpha , namedLetters . Beta ) ;
114+ Console . WriteLine ( $ " { namedLetters . Alpha } , { namedLetters . Beta } " ) ;
115115 // </SnippetNamedTuple>
116116
117117 // <SnippetImplicitNamedTuple>
118118 var alphabetStart = ( Alpha : "a" , Beta : "b" ) ;
119+ Console . WriteLine ( $ "{ alphabetStart . Alpha } , { alphabetStart . Beta } ") ;
119120 // </SnippetImplicitNamedTuple>
120121 }
121122
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ void test(object obj)
4545 }
4646 public static void SwitchPatternFull ( )
4747 {
48- // <SnippetSimpleSwitchPattern>
4948 test ( 5 ) ;
5049
5150 // <SnippetNullableSwitch>
@@ -106,8 +105,6 @@ void test(object obj)
106105 break ;
107106 }
108107 }
109-
110- // </SnippetSimpleSwitchPattern>
111108 }
112109 }
113110}
You can’t perform that action at this time.
0 commit comments