YoVDO

C# Best Practices for Developers

Offered By: LinkedIn Learning

Tags

C# Courses C Programming Courses Unit Testing Courses Application Development Courses

Course Description

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

Taught by

Reynald Adolphe

Related Courses

A Practical Introduction to Test-Driven Development
LearnQuest via Coursera
Android App Development
Vanderbilt University via Coursera
Building Interactive User Interfaces Using React Library
NIIT StackRoute via Coursera
Основы разработки на C++: жёлтый пояс
Moscow Institute of Physics and Technology via Coursera
Learn Intermediate Python 3
Codecademy