C# Essential Training 1: Types and Control Flow
Offered By: LinkedIn Learning
Course Description
Overview
Learn about classes, structs, record, organizing C# code, variables, enums, nullable types, and more.
Syllabus
Introduction
- Explore the essentials
- What you should know
- C# compiles to MSIL
- .NET runtime is responsible for running MSIL
- The base class library
- NuGet packages
- Compiling C# to a library or executable
- Understanding classes, structs, and records
- Defining constructors
- Object initialization
- Initialize only properties
- Cloning and copying objects
- Equality comparisons
- Defining abstract classes
- Creating static classes
- Using namespaces to organize code
- Referencing .NET assemblies
- Applying access modifiers
- Aliasing namespaces for clarity
- Declaring variables using types
- Using the var keyword
- Working with anonymous types
- Using dynamic variables
- Defining enums
- Enabling multiple enum values
- Testing enum values
- Understanding nullable types
- Using nullable types
- Working with null objects
- Understanding nullable reference types
- Working with nullable reference types
- If and switch revisited
- Switch statement vs. switch expression
- Using the is expression
- Introduction to patterns
- Constant, relational, and logical patterns
- Property pattern
- Guard conditions
- Learn more and build something
Taught by
Matt Milner
Related Courses
UNSW Computing 1 - The Art of ProgrammingOpenLearning C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera Beginning Game Programming with C#
University of Colorado System via Coursera Introduction to Computing 计算概论A
Peking University via Coursera Comprendre les Microcontroleurs
École Polytechnique Fédérale de Lausanne via Coursera