Skip to content
This repository was archived by the owner on Apr 23, 2023. It is now read-only.

Commit 4b9b3fc

Browse files
update chapter readme
1 parent 979600e commit 4b9b3fc

File tree

17 files changed

+121
-51
lines changed

17 files changed

+121
-51
lines changed

Arrays/Readme.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Readme - Code Samples for Chapter 7, Arrays and Tuples
1+
# Readme - Code Samples for Chapter 7, Arrays
22

33
This chapter contains the following code samples:
44

@@ -9,12 +9,15 @@ This chapter contains the following code samples:
99
* TuplesSample (using Tuple<T>)
1010
* StructuralComparison (implementing IEquatable<T>)
1111

12-
To build and run the .NET Core samples, please install
13-
* Visual Studio 2017 with the .NET Core workload
12+
To build and run the .NET Core samples, please install one of these tools:
1413

15-
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core#windows).
14+
* Visual Studio 2017 Update 5 with the .NET Core workload
15+
* Visual Studio for Mac
16+
* Visual Studio Code
17+
18+
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
1619

17-
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp6)
20+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
1821

1922
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information for topics covered in the book.
2023

Async/Readme.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,22 @@
22

33
This chapter contains these samples:
44

5+
* AsyncHistory
56
* Foundations (changing synchronous methods to async, continuation)
67
* ErrorHandling (error handling with async methods)
7-
* AsyncPatternsWPF (synchronous .vs. asynchronous, using the asynchronous pattern, event-based async pattern, and task-based async pattern)
8+
* AsyncWindowsApp (synchronous .vs. asynchronous, using the asynchronous pattern, event-based async pattern, and task-based async pattern)
89

9-
The Foundations and ErrorHandling samples show core features of using the async/await keywords with C#.
10+
To build and run the .NET Core samples, please install one of these tools:
1011

11-
The AsyncPatternsWPF demonstrates the advantages of the async/await keywords and shows different async patterns that are used with .NET. To run the application, you need to request a BING key and add it to the BingRequest.cs file in the AsyncLib project, and a Flickr app-id to the file FlickrRequest. You can also request just one of these keys, and just enable the corresponding functionality in the application.
12+
* Visual Studio 2017 Update 5 with the .NET Core workload and the Universal Windows Platform development workload
13+
* Visual Studio for Mac
14+
* Visual Studio Code
1215

13-
To build and run the .NET Core samples, please install
14-
* Visual Studio 2017 with the .NET Core workload
16+
The AsyncWindowsApp requires Windows 10 and Visual Studio 2017 with the Universal Windows Platform development workload. The other samples run on other platforms as well.
1517

1618
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
1719

18-
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp6)
20+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
1921

2022
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information for topics covered in the book.
2123

Collections/Readme.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Readme - Code Samples for Chapter 11, Collections
1+
# Readme - Code Samples for Chapter 10, Collections
22

33
This chapter contains the following code samples:
44

@@ -11,12 +11,15 @@ This chapter contains the following code samples:
1111
* StackSample.(using `Stack<T>`)
1212
* LookupSample (using `ILookup`)
1313

14-
To build and run the .NET Core samples, please install
15-
* Visual Studio 2017 with the .NET Core workload
14+
To build and run the .NET Core samples, please install one of these tools:
1615

17-
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core#windows).
16+
* Visual Studio 2017 Update 5 with the .NET Core workload
17+
* Visual Studio for Mac
18+
* Visual Studio Code
19+
20+
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
1821

19-
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp6)
22+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
2023

2124
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information for topics covered in the book.
2225

CoreCSharp/Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This chapter contains the following code samples:
1313

1414
To build and run the .NET Core samples, please install one of these tools:
1515

16-
* Visual Studio 2017 Update 3 with the .NET Core workload
16+
* Visual Studio 2017 Update 5 with the .NET Core workload
1717
* Visual Studio for Mac
1818
* Visual Studio Code
1919

Delegates/Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This chapter contains the following code samples:
1212

1313
To build and run the .NET Core samples, please install one of these tools:
1414

15-
* Visual Studio 2017 Update 3 with the .NET Core workload
15+
* Visual Studio 2017 Update 5 with the .NET Core workload
1616
* Visual Studio for Mac
1717
* Visual Studio Code
1818

ErrorsAndExceptions/Readme.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,20 @@
33
This chapter contains the following code samples:
44

55
* SimpleExceptions (`try`, `catch`, and `throw`)
6-
* ExceptionFilters (new C# 6 feature, filtering with `when`)
6+
* ExceptionFilters (filtering with `when`)
77
* RethrowExceptions (rethrowing exceptions)
88
* SolicitColdCall (user-defined exceptions)
99
* CallerInformation (using `CallerLineNumber`, `CallerFilePath`, `CallerMemberName`)
1010

11-
To build and run the .NET Core samples, please install
12-
* Visual Studio 2017 with the .NET Core workload
11+
To build and run the .NET Core samples, please install one of these tools:
12+
13+
* Visual Studio 2017 Update 5 with the .NET Core workload
14+
* Visual Studio for Mac
15+
* Visual Studio Code
1316

1417
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
1518

16-
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp6)
19+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
1720

1821
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information for topics covered in the book.
1922

FunctionalProgramming/PatternMatching/Program.cs

-1
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,4 @@ static void SwitchStatement(object item)
102102
}
103103
}
104104
}
105-
106105
}

FunctionalProgramming/Readme.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Readme - Code Samples for Chapter 13, Functional Programming with C#
2+
3+
This chapter contains the following code samples:
4+
5+
* UsingStatic (the using static declaration)
6+
* ExpresionBodiedMembers (using expression bodies everywhere)
7+
* LocalFunctions (C# 7 local functions)
8+
* Tuples (C# 7 tuples)
9+
* PatternMatching (C# 7 pattern matching with the is operator and the switch statement)
10+
11+
To build and run the .NET Core samples, please install one of these tools:
12+
13+
* Visual Studio 2017 Update 5 with the .NET Core workload
14+
* Visual Studio for Mac
15+
* Visual Studio Code
16+
17+
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
18+
19+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
20+
21+
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information for topics covered in the book.
22+
23+
Thank you!

Generics/Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This chapter contains the following code samples:
1111

1212
To build and run the .NET Core samples, please install one of these tools:
1313

14-
* Visual Studio 2017 Update 3 with the .NET Core workload
14+
* Visual Studio 2017 Update 5 with the .NET Core workload
1515
* Visual Studio for Mac
1616
* Visual Studio Code
1717

HelloWorld/Readme.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Readme - Code Samples for Chapter 1, .NET Applications and Tools
2+
3+
This chapter contains the following code samples:
4+
5+
* HelloWorld (.NET Core Console App)
6+
* WebApp (Tool-generated ASP.NET Core MVC Web App)
7+
* SelfContainedHelloWorld (Console App configured for self-contained deployment)
8+
9+
To build and run the .NET Core samples, please install one of these tools:
10+
11+
* Visual Studio 2017 Update 5 with the .NET Core workload
12+
* Visual Studio for Mac
13+
* Visual Studio Code
14+
15+
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
16+
17+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
18+
19+
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information on topics covered in the book.
20+
21+
Thank you!

LINQ/Readme.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Readme - Code Samples for Chapter 13, Language Integrated Query
1+
# Readme - Code Samples for Chapter 12, Language Integrated Query
22

33
This chapter contains the following code samples:
44

@@ -7,12 +7,15 @@ This chapter contains the following code samples:
77
* ParallelLinqSample (using parallel features including partitioners and cancellation)
88
* ExpressionTreeSample (working with expression trees)
99

10-
To build and run the .NET Core samples, please install
11-
* Visual Studio 2017 with the .NET Core workload
10+
To build and run the .NET Core samples, please install one of these tools:
11+
12+
* Visual Studio 2017 Update 5 with the .NET Core workload
13+
* Visual Studio for Mac
14+
* Visual Studio Code
1215

1316
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
1417

15-
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp6)
18+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
1619

1720
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information for topics covered in the book.
1821

ObjectOrientation/Readme.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
# Readme - Code Samples for Chapter 4, Inheritance
1+
# Readme - Code Samples for Chapter 4, Object-Oriented Programming with C#
22

33
This chapter contains the following code samples:
44

55
* VirtualMethods (declare base types using *abstract*, *virtual*, *override*)
66
* InheritanceWithConstructors (inheritance with non-default constructors)
77
* UsingInterfaces (declaring and using interfaces)
88

9-
To build and run the .NET Core samples, please install
10-
* Visual Studio 2017 with the .NET Core workload
9+
To build and run the .NET Core samples, please install one of these tools:
1110

12-
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core#windows).
11+
* Visual Studio 2017 Update 5 with the .NET Core workload
12+
* Visual Studio for Mac
13+
* Visual Studio Code
14+
15+
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
1316

14-
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp6)
17+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
1518

1619
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information for topics covered in the book.
1720

ObjectsAndTypes/Readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ This chapter contains the following code samples:
1414

1515
To build and run the .NET Core samples, please install one of these tools:
1616

17-
* Visual Studio 2017 with the .NET Core workload
17+
* Visual Studio 2017 Update 5 with the .NET Core workload
1818
* Visual Studio for Mac
1919
* Visual Studio Code
2020

21-
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core#windows).
21+
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
2222

23-
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp6)
23+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
2424

2525
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information for topics covered in the book.
2626

OperatorsAndCasts/Readme.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Readme - Code Samples for Chapter 8, Operators and Casts
1+
# Readme - Code Samples for Chapter 6, Operators and Casts
22

33
This chapter contains the following code samples:
44

@@ -9,13 +9,14 @@ This chapter contains the following code samples:
99
* CastingSample (overloading the cast operator)
1010

1111
To build and run the .NET Core samples, please install one of these tools:
12-
* Visual Studio 2017 Update 3 with the .NET Core workload
12+
13+
* Visual Studio 2017 Update 5 with the .NET Core workload
1314
* Visual Studio for Mac
1415
* Visual Studio Code
1516

16-
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core#windows).
17+
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
1718

18-
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp6)
19+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
1920

2021
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information for topics covered in the book.
2122

ReflectionAndDynamic/Readme.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@ This chapter contains the following code samples:
1414
* DynamicFileReader (parsing a file and making use of *dynamic*)
1515
* DynamicSample (a custom class using *DynamicObject*)
1616

17-
To build and run the .NET Core samples, please install
18-
* Visual Studio 2017 with the .NET Core workload
17+
To build and run the .NET Core samples, please install one of these tools:
18+
19+
* Visual Studio 2017 Update 5 with the .NET Core workload
20+
* Visual Studio for Mac
21+
* Visual Studio Code
1922

2023
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
2124

22-
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp6)
25+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
2326

2427
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information for topics covered in the book.
2528

SpecialCollections/Readme.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Readme - Code Samples for Chapter 12, Special Collections
1+
# Readme - Code Samples for Chapter 11, Special Collections
22

33
This chapter contains the following code samples:
44

@@ -8,12 +8,15 @@ This chapter contains the following code samples:
88
* ImmutableCollectionSample (using `ImmutableArray<T>` and `ImmutableList<T>` as well as builders)
99
* PipelineSample (using `BlockingCollection<T>`, `ConcurrentDictionary<TKey, TValue>` and tasks to work with pipelines)
1010

11-
To build and run the .NET Core samples, please install
12-
* Visual Studio 2017 with the .NET Core workload
11+
To build and run the .NET Core samples, please install one of these tools:
12+
13+
* Visual Studio 2017 Update 5 with the .NET Core workload
14+
* Visual Studio for Mac
15+
* Visual Studio Code
1316

1417
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
1518

16-
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp6)
19+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
1720

1821
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information for topics covered in the book.
1922

StringsAndRegularExpressions/Readme.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
# Readme - Code Samples for Chapter 10, Strings and Regular Expressions
1+
# Readme - Code Samples for Chapter 9, Strings and Regular Expressions
22

33
This chapter contains the following code samples:
44

55
* StringSample (using string methods, *StringBuilder*)
66
* StringFormats (date and number formats, defining a custom format, *IFormattable*)
77
* RegularExpressionPlayground (using regularexpressions, *Regex*)
88

9-
To build and run the .NET Core samples, please install
10-
* Visual Studio 2017 with the .NET Core workload
9+
To build and run the .NET Core samples, please install one of these tools:
10+
11+
* Visual Studio 2017 Update 5 with the .NET Core workload
12+
* Visual Studio for Mac
13+
* Visual Studio Code
1114

1215
Please download and install the tools from [.NET Core downloads](https://www.microsoft.com/net/core).
1316

14-
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp6)
17+
For code comments and issues please check [Professional C#'s GitHub Repository](https://github.com/ProfessionalCSharp/ProfessionalCSharp7)
1518

1619
Please check my blog [csharp.christiannagel.com](https://csharp.christiannagel.com "csharp.christiannagel.com") for additional information for topics covered in the book.
1720

0 commit comments

Comments
 (0)