From 2a1056db5305caf3d73eab0409f68efbe1133c1f Mon Sep 17 00:00:00 2001 From: Mark Michaelis Date: Wed, 20 Sep 2023 12:56:37 +0100 Subject: [PATCH] Removed extra curly brace --- .../Table13.01.c.LambdaExpressionNotesAndExamples.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Chapter13/Table13.01.c.LambdaExpressionNotesAndExamples.cs b/src/Chapter13/Table13.01.c.LambdaExpressionNotesAndExamples.cs index 80c551caf..e7d2c68b1 100644 --- a/src/Chapter13/Table13.01.c.LambdaExpressionNotesAndExamples.cs +++ b/src/Chapter13/Table13.01.c.LambdaExpressionNotesAndExamples.cs @@ -10,8 +10,8 @@ static public void ExpressionsCanHaveReturnTypes() { #if !NET6_0_OR_GREATER Action action = void () => { }; - var func = short?(long number) => number <= short.MaxValue ? (short)number : null; - } + var func = short?(long number) => + number <= short.MaxValue ? (short)number : null; #endif } }