Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

C# Best Practices for Developers

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Taught by

Reynald Adolphe

Reviews

4.5 rating at LinkedIn Learning based on 283 ratings

Start your review of C# Best Practices for Developers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.