Skip to content

Commit 6401813

Browse files
committed
Added a input variable for the getUserInput to store to, then pass into the Console.WriteLine
1 parent 13a8a39 commit 6401813

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Chapter13/Listing13.15.ParameterlessStatementLambdas.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public static void Main()
2222
};
2323
//...
2424
#endregion INCLUDE
25-
Console.WriteLine(getUserInput());
25+
string input = getUserInput();
26+
Console.WriteLine(input);
2627
}
2728
}

0 commit comments

Comments
 (0)