C# for Beginners

This tutorial series will help you learn the basics of C# programming.

You will start by learning common definitions. Next, you will code simple console applications. As the series progresses, you will learn more advanced techniques until you are able to use a variety of structures to code dynamic C# applications.

C# Initialize List

Collections in C# are similar to arrays, but with added benefits. Perhaps most importantly, they enable the developer to take advantage of rich sorting, filtering, and aggregation features available in the .NET Core framework through LINQ queries. In this tutorial, you will learn about the collection type known as a generic list, List<T>, including how … Read more

LINQ Syntax: Sort C# List

The Language Integrated Query (LINQ) is a syntax that allows developers to sort, filter, and perform other aggregate operations on collections in C#. This tutorial will introduce you to LINQ and teach you how to use the OrderBy method to sort your data. Initial Setup This tutorial will build off the previous tutorial, which introduced … Read more

LINQ Syntax: Filter C# List

The Language Integrated Query (LINQ) syntax is a powerful way to work with collections in C#. In this tutorial, you will learn how to use LINQ to filter data from C# lists. You will also learn how to chain LINQ queries together in order to return precisely the data you are interested in. Initial Setup … Read more

C# List ForEach

In this tutorial, you will learn how to use the ForEach method on Lists and other LINQ collections. This allows you to compactly write, on a single line of code, that which otherwise would take at least four lines. Initial Setup In the previous project, we started by creating a custom Book class designed to … Read more

C# Enumerations (Enums)

In C#, enumerations, or enums, are a special data type used to limit the possible values of a given variable. Constraining data is useful for ensuring the validity of values as they are used throughout the program. Getting Started with Enums Suppose you were coding a To-Do application. You might create a Todo class to … Read more

Looking for more?

You have visited our site before, and we appreciate you!

If you found the tutorials helpful, enter your email address for more free C# tips and tricks.

Can't get enough C#?

Enter your email address for more free C# tutorials and tips.