What C# is used for and what HSG's C# courses cover
C# is a general-purpose, object-oriented language built for the .NET platform. Teams use it for line-of-business and enterprise applications, web services and APIs, Windows desktop applications, and cloud services. The syntax is approachable, but the platform around it is large. Value and reference types, generics, LINQ, asynchronous programming and the runtime all matter in production code.
HSG's C# courses run from two to five days and fall into four groups:
- Language and OOP foundations: C# syntax, classes, inheritance, interfaces and the .NET class library.
- .NET Framework programming: assemblies, reflection, generics, delegates, ADO.NET, LINQ and threading.
- Web development: ASP.NET Web Forms, ASP.NET Ajax, ASP.NET Web API and ASP.NET Core MVC.
- Desktop and services: Windows Presentation Foundation (WPF) and Windows Communication Foundation (WCF).
Training is delivered as private classes for organizations, onsite or live online, and course content can be customized to a team's needs.
Core C# skills and where HSG courses teach them
- Object-oriented design. Classes, constructors, properties, inheritance, virtual methods, polymorphism, abstract and sealed classes, interfaces and structured exception handling. Object-Oriented Programming in C# builds these through a multi-step bank case study.
- The type system, generics and collections. Value versus reference types, boxing and unboxing, nullable types, generic classes and methods, and extension methods appear in the C# and .NET Framework courses.
- Delegates, events and lambdas. These cover single-cast and multi-cast delegates, custom events and lambda expressions. They underpin both LINQ and event-driven UI code.
- LINQ and data access. The syllabus covers ADO.NET connected and disconnected access, transactions, connection pooling, typed and untyped DataSets, and LINQ to Objects, SQL, DataSets and XML.
- Threading and async. Threads, the ThreadPool, synchronization, the Task class, the Task Parallel Library and async/await are taught in the advanced .NET Framework course. This is where many production bugs originate.
- Web development. The MVC pattern, Razor views, model binding, validation, filters and routing, plus REST principles, HTTP response codes and Web API clients.
- Desktop UI. XAML, layout panels, dependency properties, routed events, commands and resources in WPF.
- Debugging. The Visual Studio debugger, debug and release builds, and attaching to a running process.
A suggested learning path through HSG's C# courses
1. Foundations
C# Essentials (3 days) suits programmers who already work in another language and want a fast route into C#. It covers the language, OOP, delegates and events, a first look at Windows Forms, and newer features such as records, nullable reference types and top-level statements. Its introduction names .NET 6 (support ended November 2024) and Visual Studio 2022 / 2026 (supported). Object-Oriented Programming in C# (5 days) suits people who want a slower, more thorough build-up, from first programs through data types, strings, arrays, inheritance, exceptions and interfaces.
2. Intermediate
Advanced .NET Framework Programming Using C# (4 days) suits developers who know C# syntax, classes, interfaces and collections. It covers generics, delegates and events, ADO.NET, LINQ, XML, threads, tasks and async/await. It is built on .NET Framework 4.0, 4.5 and 4.5.1, which are out of support, so it fits teams maintaining or migrating systems on those versions. .NET Framework Essentials Using C# (3 days) suits programmers who know C# and Windows Forms. It covers assemblies and deployment, reflection, serialization, security and debugging. It uses Visual Studio 2015, whose support ended October 2025, so it is aimed at teams supporting existing .NET Framework applications.
3. Specialized tracks
Web, newer course first. ASP.NET Core MVC, Rev. 8.0 (2 days) is the newer of the two ASP.NET Core MVC courses. It covers controllers, views, routing, filters and an introduction to ASP.NET Core Web API. It uses .NET 8, whose support ended November 2026. ASP.NET Core MVC, Rev. 6.0 is for teams maintaining applications on .NET 6 (support ended November 2024). Organizations working on .NET 10 or .NET 11, both currently supported, can request a training proposal for private training tailored to the versions they use.
Web, existing systems. ASP .NET Using C# (5 days) covers Web Forms, state management, server controls and caching, with an introduction to MVC. ASP.NET Ajax Using C# (3 days) covers JavaScript, jQuery and partial page rendering. ASP.NET Web API Essentials Using C# (2 days) covers HTTP services, content negotiation and .NET clients. It uses Visual Studio 2017, which is in extended support until April 2027. All three suit teams maintaining applications built on those technologies.
Desktop and services. Windows Presentation Foundation, Rev. 8.0 (3 days) suits developers building Windows desktop UIs with XAML. Complete Windows Communication Foundation (WCF) for .NET 4.0 (3 days) covers contracts, bindings, hosting, fault handling and security for teams supporting existing WCF services on .NET Framework 4.0.
How to choose a starting point
- Start from your current skills. Developers new to C# but experienced elsewhere can begin with C# Essentials. Those newer to programming or object-oriented design will get more from Object-Oriented Programming in C#. The advanced courses assume C# syntax, classes, interfaces, collections and familiarity with Visual Studio.
- Start from the codebase. If your applications run on .NET Framework, the Framework, Web Forms, Web API and WCF courses match that code. If you are building ASP.NET Core or WPF applications, the Rev. 8.0 courses are the relevant starting points.
- Check the version you use. Private training can be tailored to the versions an organization uses, including current releases, so a team on a newer .NET release can ask for content aligned to it through a training proposal.
- Train teams together. Mixed-experience teams often combine a foundations course with one specialized course. Private sessions can be delivered onsite or live online, and the content can be adjusted to your projects.
The full course catalog lists HSG's training beyond C#.
AI coding assistants and C#
AI coding assistants are useful for C#. They draft LINQ queries, boilerplate classes, data-access code, async methods and unit tests quickly, and they can explain unfamiliar code. C# has a large API surface and a strong type system, so suggestions are often close to correct.
They fail in predictable places, and reviewers need the fundamentals to catch them:
- Deferred execution in LINQ. A query can run later than the generated code implies, or run more than once.
- Async and threading. Generated code may block on tasks, risk deadlocks, ignore cancellation, or leave work unobserved. Shared state may lack proper synchronization.
- Exception handling and resource cleanup. Disposable resources are easy to leak, and exceptions are often swallowed or caught too broadly.
- Version mismatch. An assistant may suggest APIs or language features that do not exist in the .NET version you target. This is especially common when maintaining older .NET Framework code.
Training on the language, the type system, delegates, LINQ and threading gives developers the judgment to accept, correct or reject generated code. Treat AI output as a draft that you test and review.
Frequently asked questions
Is C# hard to learn?
The syntax is approachable, especially for developers who know another object-oriented language. The depth comes from the platform: generics, LINQ, asynchronous programming and threading take practice. HSG's foundation courses cover the language, and the advanced course covers those deeper topics.
Where should I start?
Experienced programmers new to C# can start with C# Essentials. Those who want a thorough, step-by-step introduction can take Object-Oriented Programming in C#. Developers who already know C# can go straight to a specialized course such as ASP.NET Core MVC or WPF.
How long are the courses?
The C# courses listed here run from two to five days. ASP.NET Core MVC and ASP.NET Web API Essentials are two days. C# Essentials, WPF, .NET Framework Essentials, ASP.NET Ajax and WCF are three days. Advanced .NET Framework Programming is four days, and Object-Oriented Programming in C# and ASP .NET Using C# are five.
What are the prerequisites?
Introductory courses assume basic programming knowledge. .NET Framework Essentials assumes you know C# and the fundamentals of Windows Forms. The advanced course assumes C# syntax, classes, interfaces and collections.
Are the courses onsite or online?
HSG delivers private training for organizations either onsite at your location or live online.
Can a course be customized?
Yes. Private course content can be customized, including tailoring to the technology versions your organization uses. Request a training proposal to discuss your team's needs.
Do you teach older .NET Framework technologies?
Yes. Courses on .NET Framework programming, ASP.NET Web Forms, ASP.NET Ajax, ASP.NET Web API and WCF serve teams that maintain, support or migrate existing systems. The versions named for several of these courses (.NET Framework 4.0, 4.5 and 4.5.1) are out of support.
Which ASP.NET Core MVC course should I choose?
Rev. 8.0 is the newer course and includes an ASP.NET Core Web API section. Rev. 6.0 suits teams maintaining .NET 6 applications. Organizations on newer releases can request customized private training.