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 b9e7590 commit 409aabc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Chapter06/Listing06.26.DefiningAPrimaryConstructor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ public string FullName
// Throw an exception if the full
// name was not assigned
throw new System.ArgumentException(
string.Format(
$"Assigned value '{ value }' is invalid",
nameof(value)));
$"Assigned value '{ value }' is invalid",
nameof(value));
}
}
}
Expand Down

0 comments on commit 409aabc

Please sign in to comment.