Ten Tips for the C# Developer
48mIntermediate2024-08-26
Authors

Walt Ritscher
Programmer, UI Designer, Staff Instructor at LinkedIn Learning

Learn-it Labs
Course details
Take a deep dive into improving your C# development skills with ten transformative tips from expert coder Walt Ritscher. Explore ways to address common challenges and adhere to best practices in this course from Learn-it Labs. Learn how to avoid race conditions using the TryGetValue method, enhance switch statements with pattern matching for more readable and efficient code, make literals more readable with underscores, and extract items from sequences using indices for cleaner data manipulation. Walt also covers how to use the discard feature to ignore return values correctly, create thread-safe immutable types, use the ImmutableList collection to manage data securely, debug and work with nested collections using SelectMany, and more. Perfect for intermediate C# developers, this course will help empower you to write cleaner, more efficient, and safer code, enhancing your professional skills to grow your career.
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 for C# Developers
- 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 - The right way to ignore return values
- 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
Conclusion
- 13 - Next steps
Related courses
- Ten Tips for the C# Developer (2020)
- The Event Planner's Guide: Ten Tips for Impactful Marketing
- The AI-Driven Cybersecurity Analyst
- Ten Security Tips for Developers
- Job Interview Tips for Software Engineers
- Job Interview Tips for Project Managers
- Cert Prep: CFA Exam Level 1
- Excel Data Visualization: Mastering 20+ Charts and Graphs
Related learn paths
- Succeeding as a Senior Manager Professional Certificate by LinkedIn Learning
- Navigating the Cybersecurity Threat Landscape
- Advance Your Business Analytics Skills
- Explore a Career in Project Management
- Master the Concepts of Data Visualization and Storytelling
- Prepare for the Google Associate Android Developer Certification
- Become a Business Intelligence Specialist
- Getting Started with Prompt Engineering