Lessons:10Length:42 minutes

For full access to all 10 lessons, including source files, subscribe with Elements.
- Overview
- Transcript
2.8 Dictionary Initializer and Exception Filtering
The final two features are completely unrelated to each other, but they're so simple it's hard to spend a whole lesson each on them. Firstly, we now have specific syntax for initializing a dictionary. Secondly, we can now add conditions to exception handlers. Cool, but simple!
1.Introduction1 lesson, 00:37
1 lesson, 00:37
Free Lesson 1.1Introduction00:37
Free Lesson
1.1
Introduction
00:37
2.The New Features8 lessons, 40:52
8 lessons, 40:52
Free Lesson 2.1Using static06:26
Free Lesson
2.1
Using static
06:26
2.2The nameof Operator03:48
2.2
The nameof Operator
03:48
2.3String Interpolation05:33
2.3
String Interpolation
05:33
2.4The Null-Conditional Operator05:32
2.4
The Null-Conditional Operator
05:32
2.5Auto-Property Improvements04:31
2.5
Auto-Property Improvements
04:31
2.6Expression-Bodied Properties and Methods05:03
2.6
Expression-Bodied Properties and Methods
05:03
2.7Default Constructors for Structs04:26
2.7
Default Constructors for Structs
04:26
2.8Dictionary Initializer and Exception Filtering05:33
2.8
Dictionary Initializer and Exception Filtering
05:33
3.Conclusion1 lesson, 00:28
1 lesson, 00:28
3.1Conclusion00:28
3.1
Conclusion
00:28
Continue watching with Elements
Continue watching with Elements