mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-01-08 00:59:59 +01:00
Add item for page 378
This commit is contained in:
parent
cf789a382d
commit
d333fa33f5
|
|
@ -4,7 +4,7 @@ If you find any mistakes in the seventh edition, *C# 11 and .NET 7 - Modern Cros
|
|||
|
||||
[**Errata** (40 items)](errata.md): Typos, tool user interface changes, or mistakes in code that would cause a compilation error that prevents a successful build.
|
||||
|
||||
[**Improvements** (28 items)](improvements.md): Changes to text or code that would improve the content. These are optional.
|
||||
[**Improvements** (29 items)](improvements.md): Changes to text or code that would improve the content. These are optional.
|
||||
|
||||
[**Common Errors** (3 items)](common-errors.md): These are some of the most common errors that a reader might encounter when trying to get code in book tasks to work, or when trying to write your own code.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
**Improvements** (28 items)
|
||||
**Improvements** (29 items)
|
||||
|
||||
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.
|
||||
|
||||
|
|
@ -19,6 +19,7 @@ If you have suggestions for improvements, then please [raise an issue in this re
|
|||
- [Page 339 - Viewing source links with Visual Studio 2022](#page-339---viewing-source-links-with-visual-studio-2022)
|
||||
- [Page 343 - Packaging a library for NuGet](#page-343---packaging-a-library-for-nuget)
|
||||
- [Page 351 - Using non-.NET Standard libraries](#page-351---using-non-net-standard-libraries)
|
||||
- [Page 378 - Dictionaries](#page-378---dictionaries)
|
||||
- [Page 444 - Connecting to a database](#page-444---connecting-to-a-database)
|
||||
- [Page 453 - Scaffolding models using an existing database](#page-453---scaffolding-models-using-an-existing-database)
|
||||
- [Page 512 - Group-joining sequences](#page-512---group-joining-sequences)
|
||||
|
|
@ -376,6 +377,12 @@ for (int i = 0; i < matrix.Axes[1].Points.Length; i++)
|
|||
}
|
||||
```
|
||||
|
||||
# Page 378 - Dictionaries
|
||||
|
||||
In the next edition, I will add a note at the bottom of this section to set an expectation that readers will come across dictionaries again later in the book in more practical ways.
|
||||
|
||||
> Note: In Chapter 11, LINQ, you will learn how to create dictionaries and lookups from existing data sources like tables in a database using LINQ methods like `ToDictionary` and `ToLookup`. This is a much more common use than manually adding items to a dictionary as shown in this section.
|
||||
|
||||
# Page 444 - Connecting to a database
|
||||
|
||||
I wrote, "To connect to a SQLite database, we just need to know the database filename, set using the parameter `Filename`."
|
||||
|
|
|
|||
Loading…
Reference in a new issue