cs11dotnet7/docs/errata/improvements.md

21 lines
900 B
Markdown
Raw Normal View History

2022-10-11 13:23:13 +02:00
# Improvements
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.
- [Improvements](#improvements)
- [Print Book](#print-book)
- [Page 153 - Writing a function that returns a value](#page-153---writing-a-function-that-returns-a-value)
2022-10-11 13:23:13 +02:00
- [Bonus Content](#bonus-content)
# Print Book
## 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:
```cs
Console.OutputEncoding = System.Text.Encoding.UTF8;
```
2022-10-11 13:23:13 +02:00
# Bonus Content
None so far.