Hamburger Icon

C# Fundamentals

Course Summary

C# Fundamentals introduces you to the essential concepts, syntax, and paradigms of the C# language. It begins by exploring the differences between .NET Core and .NET Framework. This course then provides a comprehensive overview of C#’s features and how it is used to create object-oriented applications.. Your hands-on experience during this course will equip you to launch your C# programming career.

Prerequisites
In order to succeed in this course, you will need:

  • Some previous programming experience
  • Familiarity with a development environment (e.g., Visual Studio)

Purpose
Learn essential concepts, syntax, and paradigms of the C# language.
Audience
Anyone interested in learning how to create object-oriented applications.
Role
Software Developers | Data Engineers | Technical Managers
Skill level
Beginner
Style
Lectures | Hands-on Labs | Demonstrations
Duration
4 days
Related technologies
.NET Core | AWS Lambda

 

Course objectives
  • Build a C# application using essential syntax and flow control
  • Apply object-oriented programming principles like encapsulation and inheritance
  • Work with data using collections, generics, and file I/O operations
  • Write modular, maintainable code and handle errors effectively

What you'll learn:

In this C# Fundamentals course, you'll learn:

Introduction

  • What is .NET Core?
    • History and Evolution
    • .NET Core vs .NET Framework
  • Types of .NET Applications
    • Desktop, Web, Mobile, APIs, and Microservices
  • Overview of the C# Programming Language
  • A Heritage of Curly Braces
  • Writing your First C# Program: Hello World!

C# Programming Fundamentals: Structure and Data

  • Application Structure
    • Program Components
    • Case Sensitivity
    • Namespaces and Assemblies
    • Working with Static Classes
    • A Glance at Methods
  • Data Types
    • Number Types, Strings, Booleans
    • Type Conversion
    • Enumerations

C# Programming Fundamentals: Control Flow and Arrays

  • Making Decisions
    • Evaluating Conditionals
    • Ternary Operator
    • If/Else Statement
    • Switch Statements
  • Looping
    • While Loops
    • Do-While Loops
    • For Loops
    • Foreach Loops
  • Working with Arrays, ArrayLists, and HashTables

Basic C# Object-Oriented Programming

  • Object-Oriented Concepts
    • Classes and objects
    • Encapsulation, Inheritance, and Polymorphism
  • Building Classes
    • Defining Classes
    • Fields, Properties, and Methods
    • Access Modifiers
    • Static Members
    • Working with Objects
  • When to use Static Classes
    • Static Members and Methods
  • Working with Lambda Expressions
    • Syntax and Structure
    • Anonymous Methods

C# Collections and LINQ

  • What are Generic Classes and Methods?
  • Generic Collections
    • Lists<T>
    • Dictionary<TKey, TValue>
    • A Glance at Other Collections
  • LINQ (Language Integrated Query)
    • Basic LINQ Queries
    • Query vs Method Syntax

Working with Files

  • File I/O Operations
    • StreamReaders
    • StreamWriters
  • A Peek at Serialization

Object-Oriented In Depth

  • Implementation Inheritance
    • Base Classes and Derived Classes
    • Method Overloading
  • Virtual vs Sealed Methods
  • Abstract Classes
    • When to use Abstract Classes?
    • Abstract Classes and Abstract Methods
  • Interfaces and Interface Inheritance
    • When to use Interfaces
    • Implementing Interface Inheritance
    • Common .NET Interfaces
  • A Peek at Heterogeneous Collections

Exceptions

  • What are exceptions?
    • Common .NET Exception Classes
  • Using try / catch / finally
  • Throwing exceptions
  • Custom Exceptions
  • Strategies For Handling Errors
    • Working With Return Codes
    • Using Exceptions
    • Best Practices

Class Libraries

  • What is a Class Library?
  • Building Class Libraries
  • Using Class Libraries
    • Referencing Assemblies
    • Working with Namespaces

Dive in and learn more

When transforming your workforce, it’s important to have expert advice and tailored solutions. We can help. Tell us your unique needs and we'll explore ways to address them.

Let's chat

By filling out this form and clicking submit, you acknowledge our privacy policy.