This commit is contained in:
Mark J Price 2022-11-10 22:03:40 +00:00
commit 8fe96c5f62
3 changed files with 8 additions and 3 deletions

View file

@ -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/

View file

@ -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.

View file

@ -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.
@ -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;
```