Introduction to C#
Duration: 5 Days
Description
This hands-on course introduces the fundamentals of C# programming within the .NET ecosystem. You’ll learn how to write, structure, and run C# programs using modern development tools while building a solid foundation in object-oriented programming — covering variables, control flow, loops, methods, and classes. The course also introduces inheritance, interfaces, collections, and structs, preparing you to build real-world applications with confidence.
Audience
Built for beginners with some grounding in programming logic who want to learn C# and .NET from the ground up. Ideal for aspiring software developers, QA engineers, and IT professionals transitioning into application development on the Microsoft technology stack — no prior C# experience required.
Objectives
- Understand the role of .NET runtime and development tools in C# programming
- Write basic C# programs using variables, operators, and control structures
- Implement iterative logic using different types of loops
- Define and invoke methods with various parameter types and return values
- Create and manipulate objects, classes, and properties
- Apply object-oriented programming principles including encapsulation, inheritance, and polymorphism
- Work with collections, enumerations, structs, and other advanced object features in C#
Prerequisites
Participants should be familiar with basic programming concepts such as variables, loops, and conditionals in any programming language. No prior experience with C# or the .NET framework is required. However, learners should have basic experience using a computer in a development environment, such as working with Visual Studio Code or using the command line.
Course Outline
Module 1: C# and .NET
- CLR and the .NET Environment
- Developer Tools
- Creating, Building, and Running a Program
Module 2: Fundamentals
- Operators and Expressions
- Data Types and Variables
- Conditional Statements and Operators
Module 3: Loops
- While and Do While Loops
- Break and Continue
- For Loop and Switch
Module 4: Methods
- Methods/Functions
- Parameters and Return Values
Module 5: Objects and Classes
- How Objects Work
- Defining Classes, Methods, and Properties
- Arrays as Object Data
Module 6: Object-Oriented Programming
- Encapsulation, Data Hiding, and Inheritance
- Polymorphism, Inheritance, and Interfaces
- Collections
Module 7: Advanced Object Scenarios
- Enumerations
- Struct
- Object Methods