How to Resize an Array in C#
Resizing an array is usually done if the exact number of elements that have to be stored in an array is unknown. Fortunately, C# has a method called Array.Resize().
Read articlePractical guides and thoughtful notes on software engineering, systems, and the tools developers use every day.
Explore the collection
34 published posts
Browse by topic, search for an idea, or follow a learning series.
Showing 1–9 of 10 articles
Resizing an array is usually done if the exact number of elements that have to be stored in an array is unknown. Fortunately, C# has a method called Array.Resize().
Read article
When you build applications inside the .NET ecosystem, you don't just write loose C# code files and save them to a folder. Instead, .NET organizes code using two primary architectural structural containers: Projects and Solutions.
Read articleIn this tutorial, we will walk through the professional approach to setting up an ASP.NET Core Model-View-Controller (MVC) application in Visual Studio using .NET 10. Instead of rushing into a single project setup, we will start with a clean approach by creating a Blank Solution first.
Read articleIn the realm of C# programming, performance and memory management are crucial, especially when using collections. The CollectionsMarshal class, introduced in .NET 6, is a powerful but lesser-known feature.
Read articleToday, we’re talking about a cool new thing in C# 14, which works with .NET 10. It’s called the field keyword. This new feature makes writing full properties simpler, cleaner, and less boring.
Read articleC# 14 introduces a highly requested developer comfort feature: the nameof operator can now target unbound generic types. This means you can obtain the string name of a generic class, interface, or struct without being forced to supply dummy type arguments.
Read articleWhen working with numerical data in C#, you frequently need to choose the right data type to represent non-integer values. C# supports three basic floating-point types: float, double, and decimal.
Read articleWhen working with numerical data in C#, you frequently need to choose the right data type to represent non-integer values. C# supports three basic floating-point types: float, double, and decimal.
Read articleIn the realm of C# programming, performance and memory management are crucial, especially when using collections. The CollectionsMarshal class, introduced in .NET 6, is a powerful but lesser-known feature.
Read article