Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
markjprice committed Nov 10, 2022
2 parents 6d658be + 329c99e commit 8fe96c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# C# 11 and .NET 7 - Modern Cross-Platform Development Fundamentals, Seventh Edition

You can read reviews for this book on [Amazon UK](https://www.amazon.co.uk/11-NET-Cross-Platform-Development-Fundamentals/dp/1803237805#customerReviews) and [Amazon US](https://www.amazon.com/11-NET-Cross-Platform-Development-Fundamentals/dp/1803237805#customerReviews).

Available on Amazon in Paperback or Kindle editions from November 8, 2022 with pre-orders open now: https://packt.link/0ypql

My author page on Amazon: https://www.amazon.com/Mark-J-Price/e/B071DW3QGN/
Expand Down
2 changes: 1 addition & 1 deletion docs/errata/errata.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**Errata (6 items)**
**Errata** (6 items)

If you find any mistakes, then please [raise an issue in this repository](https://github.com/markjprice/cs11dotnet7/issues) or email me at markjprice (at) gmail.com.

Expand Down
7 changes: 5 additions & 2 deletions docs/errata/improvements.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**Improvements**
**Improvements** (1 item)

If you have suggestions for improvements, then please [raise an issue in this repository](https://github.com/markjprice/cs11dotnet7/issues) or email me at markjprice (at) gmail.com.

Expand All @@ -10,7 +10,10 @@ If you have suggestions for improvements, then please [raise an issue in this re

## Page 153 - Writing a function that returns a value

At the end of this section there is a note box that explains that we could use the `C` format code to format the output as currency. If you are running on a computer in a culture that uses Euros then to show the Euro currency symbol you must enable UTF-8 encoding. Add the following statement before doing any writing to the console:
At the end of this section there is a note box that explains that we could use the `C` format code to format the output as currency. If you are running on a computer in a culture that uses Euros then to show the Euro currency symbol you must enable UTF-8 encoding.

Add the following statement near the top of the code file before doing any writing to the console:

```cs
Console.OutputEncoding = System.Text.Encoding.UTF8;
```
Expand Down

0 comments on commit 8fe96c5

Please sign in to comment.