Skip to content

Commit

Permalink
Update Listing06.26.DefiningAPrimaryConstructor.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin B <[email protected]>
  • Loading branch information
BenjaminMichaelis and Keboo authored Sep 15, 2023
1 parent 409aabc commit 0115e9a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Chapter06/Listing06.26.DefiningAPrimaryConstructor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ public static void Main()
employee.Salary = "Too Little";

System.Console.WriteLine(
"{0} {1}: {2}",
employee.FirstName,
employee.LastName,
employee.Salary);
$"{employee.FirstName} {employee.LastName}: {employee.Salary}");
}
}

Expand Down

0 comments on commit 0115e9a

Please sign in to comment.