Skip to main content

Instructor-led training

C# Essentials Training in Mount Juliet, Tennessee

Private .NET training for organizations from Hartmann Software Group, delivered onsite in Mount Juliet, Tennessee or live online.

What you'll learn

Microsoft .NET is an advance in programming technology that greatly simplifies application development, both for traditional, proprietary applications and for the emerging paradigm of Web-based services. .NET 6 is a unified platform, for browser, cloud, desktop, IoT, and mobile apps. It is based on .NET Core, the package-based implementation that is cross-platform, running on Mac and Linux besides Windows. It completes the unification of the .NET platform begun with .NET 5.

This three-day course is designed for the experienced programmer to help you quickly come up to speed on the C# language. It is current to Visual Studio 2022, .NET 6 and C# 10. Important newer features such as dynamic data types, named and optional arguments, tuples, asynchronous programming keywords, nullable reference types, record types and  top-level statements are covered.

This course concisely covers the essentials of programming using Microsoft’s C# programming language. It starts with an overview of .NET architecture and the basics of running C# programs in a .NET environment. The next two chapters cover C# language essentials and object-oriented programming in C#. The next chapter discusses how C# relates to.NET. The following chapter covers delegates and events. The course includes a succinct introduction to creating GUI programs using Windows Forms. The course concludes with a chapter covering the newer features in C#. Appendices provide a tutorial on Visual Studio 2022, an overview of LINQ, and coverage of unsafe code and pointers in C#.

The course is practical, with many example programs and a progressively developed case study. The goal is to quickly bring you up to speed in writing C# programs. The student will receive a comprehensive set of materials, including course notes and all the programming examples.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Mount Juliet, Tennessee or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

Prerequisites

The student should be an experienced application developer or architect. Some background in object-oriented programming would be helpful.

Course Outline

1. Introduction to NET
 
What is .NET?
.NET Framework, NET Core and .NET 6
Application Models
Managed Code
Visual Studio 2022
Console Programs and New Console Template
GUI Programs
 
2. C# Overview for the Sophisticated Programmer
 
First C# Console Application
Namespaces
Data Types
Conversions
Control Structures
Subroutines and Functions
Parameter Passing
Strings
Arrays
Implicitly Typed Variables
Console I/O
Formatting
Exception Handling
 
3. Object-Oriented Programming in C#
 
Classes
Access Control
Methods and Properties
Asymmetric Accessor Accessibility
Static Data and Methods
Constant and Readonly Fields
Auto-Implemented Properties
Inheritance
Overriding Methods
Abstract Classes
Sealed Classes
Access Control and Assemblies
 
4. C# and.NET
 
Components
Interfaces
System.Object
.NET and COM
Collections
IEnumerable and IEnumerator
Copy Semantics in C#
Generic Types
Type-Safe Collections
Object Initializers
Collection Initializers
Anonymous Types
Attributes
 
5. Delegates and Events
 
Delegates
Anonymous Methods
Lambda Expressions
Random Number Generation
Events
 
6. Introduction to Windows Forms
 
Creating Windows Applications Using Visual Studio 2022
Partial Classes
Buttons, Labels and Textboxes
Handling Events
Listbox Controls
 
7. Newer Features in C#
 
Dynamic Data Type
Named and Optional Arguments
Variance in Generic Interfaces
Asynchronous Programming Keywords
New Features in C# 6 and C# 7
Nullable Reference Types
Record Types
Top-level Statements
 
Appendix A.  Using Visual Studio 2022
 
Signing in to Visual Studio
Overview of Visual Studio 2022
Creating a Console Application
Project Configurations
Debugging
Multiple-Project Solutions
 
Appendix B.  Language Integrated Query (LINQ)
 
What Is LINQ?
Basic Query Operators
Filtering
Ordering
Aggregation
 
Appendix C.  Unsafe Code and Pointers in C#
 
Unsafe Code
C# Pointer Type
 
Appendix D.  Learning Resources

What makes C# Essentials hard to master

The syntax is easy for an experienced programmer. The difficulty is that C# behavior depends on the runtime underneath it, and the syllabus builds up in layers.

  • Types and copying. The course starts with managed code, data types, conversions, parameter passing, strings and arrays. These lead to the Copy Semantics in C# topic. Developers often assume that assigning an object copies it, when only the reference is copied. Parameter passing and collections make that mistake costly.
  • Object model. Properties, access control, inheritance, abstract and sealed classes, and interfaces all rely on the class fundamentals taught first. Overriding and access across assemblies are where most design errors appear.
  • Generics and iteration. Type-safe collections, generic types, IEnumerable/IEnumerator, object and collection initializers and anonymous types explain how the LINQ appendix works. Query operators for filtering, ordering and aggregation are easier to reason about once enumeration is clear.
  • Delegates, lambdas and events. Anonymous methods and lambda expressions are shorthand for delegates, and events are built on delegates. The Windows Forms chapter then uses all three to handle button clicks and listbox selections.
  • Newer features. Several look like simple syntax but carry semantics. Nullable reference types are a compile-time analysis, not a runtime check. Record types add value-based equality. The asynchronous keywords change how a method returns, not simply which thread it runs on. Top-level statements are a shortcut for the program entry point.

The course materials are built on .NET 6, whose support ended in November 2024, with Visual Studio 2022. That fits teams who build, maintain or migrate existing systems on those releases.

Who it suits and what to take next

The course targets experienced application developers and architects who are new to C#, ideally with some object-oriented background. A working programmer from another language can use the three days to learn C# idioms and the .NET type system. A team lead can use it to get a group productive on an existing C# codebase.

Before the course, you need working knowledge of programming and classes in some language. No prior .NET experience is assumed.

After the course, the next step depends on your work:

Teams working with newer .NET releases can ask about customized private training tailored to the versions they use.

Illustrative applications

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

These are examples of how the syllabus topics might apply, not descriptions of course labs.

  • Maintaining a desktop tool. A team might inherit a Windows Forms utility. Partial classes, event handlers, listbox controls, delegates and events are the topics they would need to read and change its code safely.
  • Writing a data-processing console program. A developer from another language might build a utility that reads input, stores records in generic collections and summarizes them. The relevant topics are console I/O, formatting, type-safe collections, lambda expressions and the LINQ operators for filtering, ordering and aggregation.
  • Tightening an existing codebase. A group migrating older code might adopt nullable reference types, record types and named and optional arguments to make intent explicit. Exception handling, interfaces and access control determine how safely those changes can be introduced.

AI coding assistants and C# fundamentals

AI coding assistants are useful for C# boilerplate: property definitions, class hierarchies, collection initializers, simple LINQ queries and event wiring. They are fast at converting a loop into a query or a method into a lambda.

They tend to fail where behavior is implicit:

  • Copy semantics. Generated code may share a reference where a copy was intended, or the reverse.
  • Deferred execution. A LINQ query may run later than the author expects, or run more than once.
  • Async code. Generated code can use the asynchronous keywords yet still block, ignore exceptions or omit cancellation.
  • Nullable annotations. Suggestions may silence warnings instead of fixing the cause.
  • Version mismatch. An assistant may suggest an API or language feature that the targeted .NET version does not have, which matters for teams on .NET 6 or .NET 5 codebases.

To verify, build against the exact target framework, run the code under the debugger, and write a small test for any copy, enumeration or async behavior you did not write yourself. The course teaches the underlying semantics so you can review generated code rather than accept it.

Frequently asked questions

What level is C# Essentials?

It is an introductory three-day course for experienced programmers who are new to C#. It moves quickly through the language, object-oriented programming, delegates and events, a short Windows Forms introduction and newer language features.

What should I know before attending?

You should be an experienced application developer or architect. Some object-oriented programming background helps. You do not need prior C# or .NET experience.

Does it cover LINQ, async programming and unsafe code?

The asynchronous programming keywords are covered in the newer-features chapter. LINQ is covered in an appendix on basic query operators, filtering, ordering and aggregation. Another appendix covers unsafe code and the C# pointer type.

Can this course be delivered privately for our team?

Yes. HSG delivers private training for organizations, onsite at the client's location or live online.

Can the content be customized to the .NET version we use?

Private training can be tailored to the technology versions an organization uses, including current releases. You can describe your environment in a training proposal request.

Training locations

C# Essentials training across the U.S. and beyond.

We provide private C# Essentials training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all C# Essentials training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.