C# Best Practices for Developers

Go to class
Write Review

Free Online Course: C# Best Practices for Developers provided by LinkedIn Learning is a comprehensive online course, which lasts for 1-2 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. C# Best Practices for Developers is taught by Reynald Adolphe.

Overview
  • Learn how to develop reliable, readable, and sustainable application code by following coding best practices with C#.

Syllabus
  • Introduction

    • Welcome
    • What you should know before watching
    • Setting up the Development Environment
    1. Best Practices: An Overview
    • Best practices defined
    • When to use it
    • Getting the team to follow
    2. Naming and Handling Classes
    • Project setup overview
    • Set up the business layer
    • Running a unit test
    • Class naming conventions and standards
    • Field and property naming conventions
    • Using constructors
    • Unit testing constructors
    • Namespaces
    • Static classes
    • Unit testing static classes
    • Using a singleton
    3. Naming and Handling Methods, Fields, and Properties
    • Method overloading
    • Unit testing without parameters
    • Unit testing with parameters
    • Method chaining
    • Constants vs. read-only fields
    • Using properties correctly
    • Using properties demo
    • Auto-implemented properties
    • Auto-implemented properties demo
    4. Managing Objects Efficiently
    • Initializing objects
    • Related objects needed once
    • Related objects needed always
    • Related objects needed sometimes
    • Checking for null
    • Using statement for efficiency
    5. More Best Practices Resources
    • Web and DB best practice resources
    • Common design patterns as best practice
    Conclusion
    • Next steps