C# Fundamentals

21 hours
Beginner C# .NET

Learn to design, implement, and test C# programs from the ground up. This hands-on course covers the fundamentals of the language, including data types, control flow, object-oriented programming, collections, exception handling, and debugging, building the solid foundation you need to write robust, maintainable C# applications with confidence.

What You'll Learn

By the end of this course, you will be able to:

  • Set up, compile, and run C# projects in an integrated development environment
  • Use data types, variables, operators, and expressions to build program logic
  • Write conditional statements and loops to control program flow
  • Create classes, objects, methods, and constructors using object-oriented principles
  • Apply inheritance, polymorphism, abstract classes, and interfaces to design reusable code
  • Work with arrays, lists, dictionaries, and generics for type-safe collections
  • Handle exceptions and debug applications using breakpoints, tracepoints, and the Watch Window
  • Parse, create, and serialize XML data for structured data exchange
  • Write and organize unit tests to validate code quality

Requirements

  • Basic familiarity with programming concepts is helpful but not required
  • Access to a C# development IDE such as Visual Studio

Audience

  • Aspiring C# Developers
  • Software Engineers and Application Developers
  • Technical Analysts and QA Engineers
  • Anyone seeking a solid foundation in C# programming

Topics

Getting Started with C#

  • Setting up a C# project in an IDE
  • Exploring the development environment and project structure
  • Compiling and running simple programs

Data Types and Variables

  • Identifying and using C# data types (value and reference types)
  • Declaring, initializing, and modifying variables
  • Understanding constants and read-only variables

Operators and Expressions

  • Using arithmetic, logical, and comparison operators
  • Combining operators to form expressions
  • Operator precedence and evaluation

Control Flow

  • Writing conditional statements (if, else if, else)
  • Implementing multi-branch logic with switch statements
  • Looping constructs: for, foreach, while, and do-while
  • Nested loops and flow control techniques

Arrays and Collections

  • Declaring and initializing arrays
  • Working with lists, dictionaries, and other collection types
  • Iterating through collections
  • Introduction to generics for type-safe, reusable code

Object-Oriented Programming

  • Creating and using classes and objects
  • Implementing constructors and constructor overloading
  • Using namespaces and the using directive
  • Writing reusable methods and method overloading
  • Applying inheritance and demonstrating polymorphism
  • Defining and using abstract classes and interfaces

String Handling

  • String manipulation: concatenation, substring, and case changes
  • Using string interpolation and formatting placeholders
  • Parsing and tokenizing strings for processing

Exception Handling and Debugging

  • Handling exceptions with try-catch-finally and throw
  • Debugging with breakpoints, tracepoints, and the Watch Window
  • Writing robust code with error handling best practices

Working with XML

  • Parsing and creating XML documents
  • Serializing and deserializing XML data in C#
  • Using XML to store and exchange structured data

Unit Testing

  • Writing and organizing unit tests in C#
  • Using assertions and testing attributes
  • Applying test-driven development practices to ensure code quality
Training Options
Number of Participants
Training Type

per participant

This course requires a minimum of 4 participants. Contact us for custom pricing for smaller groups.

Course Features

  • Expert instruction
  • Interactive lectures
  • Hands-on labs and exercises
  • Comprehensive course materials
  • Lifetime access to materials

Request Training Quote

Course
Participants
Training Type
Price per Participant

Request Received!

Thank you for your interest!

We'll contact you shortly with a detailed quote for C# Fundamentals.