.NET is a modern cross-platform framework for developing Windows and web applications, mobile applications, and applications for devices. In this workshop you will learn the syntax of C# including new features of C# and the core libraries needed for both Windows/Linux and web application development.
Programming C# (C# 14 / .NET 10)
Duration: 5 days
Course Overview
This comprehensive course teaches developers the programming skills needed to build Windows and web applications using C#. Over five days, you will learn core C# program structure, language syntax, and implementation details.
.NET 10 is the latest LTS release. With .NET you can build Windows, web, mobile, and device applications.
In this workshop you learn C# syntax, including the newest features in C# 14 and updated core libraries required for building Windows/Linux/web applications. Follow-on courses are recommended for deeper Windows and web application development.
Who Should Attend
- Software developers who want to build .NET applications for Windows, Linux, and macOS
- Developers transitioning from other object-oriented languages to C#
- Engineers seeking comprehensive C# language and .NET platform knowledge
- Teams adopting modern C# features and .NET 10 capabilities
Prerequisites
Developers should have basic experience with C# or another object-oriented language such as Java, C++, or Python.
Workshop Goals
- Master C# syntax, language features, and modern programming patterns
- Understand .NET application frameworks and development tools
- Apply object-oriented principles effectively in C# applications
- Use LINQ for data querying and manipulation
- Implement asynchronous programming with async/await
- Handle exceptions and errors appropriately
- Understand memory management and performance considerations
Detailed Topics
- .NET tools for application development
- Application frameworks for .NET
- C# syntax for declaring and initializing variables; primary constructors for classes/structs
- Statements and expressions
- C# operators and collection expressions;
paramscollections - Classes, structs, and records; reference vs value types
- Object orientation with C#; pattern matching improvements and exhaustiveness
- One-dimensional, jagged, and multi-dimensional arrays
- Delegates, lambdas, and events
- Lambdas with default parameters; interceptors (if available)
- Lists, linked lists, and dictionaries
- Language Integrated Query (LINQ) with query and method syntax
- Exceptions and error handling
- Asynchronous programming
- Metadata and dynamic invocation with reflection
- Memory management with .NET
Hands-on Labs
- Create console applications using .NET CLI and Visual Studio
- Build class hierarchies demonstrating inheritance and polymorphism
- Implement delegates, events, and lambda expressions in practical scenarios
- Use LINQ queries to filter, transform, and aggregate data
- Write asynchronous methods and handle concurrent operations
- Work with collections, generics, and custom data structures
- Apply pattern matching and modern C# 14 features
Outcomes
By the end of this course, you will be proficient in C# programming and ready to build production-quality .NET applications. You will understand the core language features, standard libraries, and best practices needed for professional .NET development.
Development Environment
Windows and Visual Studio are used in the course. Cross-platform concepts and .NET CLI usage are also covered for Linux/macOS development.