Replaced string literals with raw interpolated strings
MODIFY
src/Chapter04/Listing04.04.NonNumericTypes.cs
src/Chapter04/Listing04.04.NonNumericTypes.cs
@@ -7,7 +7,8 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_04
{
short windSpeed = 42;
Console.WriteLine(
- "The original Tacoma Bridge in Washington\nwas "
+ $"The original Tacoma Bridge in Washington" +
+ $"{Environment.NewLine}was "
+ "brought down by a "
+ windSpeed + " mile/hour wind.");
}

MODIFY
src/Chapter04/Listing04.45.DoWhileLoop.cs
src/Chapter04/Listing04.45.DoWhileLoop.cs
@@ -15,7 +15,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_45
// Request a move from the current player
Console.Write(
- $"\nPlayer {currentPlayer}: Enter move:");
+ $"Player {currentPlayer}: Enter move:");
string? input = Console.ReadLine();
// Check the current player's input

MODIFY
src/Chapter04/Listing04.50.SwitchStatement.cs
src/Chapter04/Listing04.50.SwitchStatement.cs
@@ -37,7 +37,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_50
// If none of the other case statements
// is encountered then the text is invalid
Console.WriteLine(
- "\nERROR: Enter a value from 1-9. "
+ "ERROR: Enter a value from 1-9. "
+ "Push ENTER to quit");
break;
}

Replaced string literals with raw interpolated strings