We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On page 83 of the print book, the formatting string is not necessary when outputting the header since arg1 is a string:
arg1
Console.WriteLine( format: "{0,-10} {1,6}", arg0: "Name", arg1: "Count" );
The text was updated successfully, but these errors were encountered:
Thank you for spotting this issue. You are correct that the format string does not need the number format code i.e. ":N0". But it does still need the format string to make the column heading right-aligned. I have fixed this issue in the code solutions and added an errata: https://github.com/markjprice/cs10dotnet6/blob/main/errata.md#page-83---understanding-format-strings
Sorry, something went wrong.
No branches or pull requests
On page 83 of the print book, the formatting string is not necessary when outputting the header since
arg1
is a string:The text was updated successfully, but these errors were encountered: