Ten Tips for the C# Developer (2020)
49mIntermediate2020-10-05
Authors

Walt Ritscher
Programmer, UI Designer, Staff Instructor at LinkedIn Learning
Course details
C# and .NET are deep areas. Even if you’ve been a developer for years, there are bound to be features you don’t even know exist. In this course, take a look at some of the hidden or interesting methods that can help you write better code in this multifaceted programming language. Hear tips for improving your everyday workflows in C# development including a method to help avoid race conditions when working with a dictionary. Learn how to use pattern matching to create more expressive and readable code branches. Explore the new C# 8 slice operators and how and when to flatten a one-many relationship. Discover fresh tactics like how to and engage another programmer’s technique, use the DebuggerDisplay attribute to specify what information is shown, and more.
Skills covered
C#Tips, Tricks, & TechniquesProgramming LanguagesMicrosoftSoftware Development
Concepts
0. Introduction
- 01 - Ten tips for C# developers
- 02 - How to access the sample code on GitHub
1. Ten Tips
- 03 - Avoid race condition with TryGetValue method
- 04 - Better switch statements with pattern matching
- 05 - Readable literals with the underscore
- 06 - Extract items from sequence with indices
- 07 - Discard feature
- 08 - Be more functional with the conditional operator
- 09 - Create a thread-safe immutable type
- 10 - Use the ImmutableList collection
- 11 - Show custom debugger information
- 12 - Work with nested collections and SelectMany
Continue Your Journey
- 13 - Next steps
Related courses
- Advanced C# Programming Concepts
- C# Hands-on Practice with Data-Structures
- Advanced C#: Functional Programming Patterns
- Ten Tips for the C# Developer
- C# and .NET Essential Training
- Mastering AI Tools for Efficient C# Development
- Advanced C#: Classes, Records, and Structs
- C# and .NET Development with VS Code