Filter by topic
Explore C# 12's primary constructors through incremental refactoring of a Worker service.
BitArray class in c# is a type that manages an array of bits. BitArray implements ICollection and ICloneable interfaces.
Classes are one of the core concepts of OOP. Let's see how sealed classes help us in boosting performance in C# projects.
In this article, you will learn about Stack v/s Heap Memory - C#.
Tasks have mostly replaced threads in our projects. Here we analyze the reasons for choosing tasks over threads, along with comparisons.
Abstraction and Encapsulation are two fundamental concepts in object-oriented programming. So let us have a small look what the difference is between those two.
This article covers the main concepts of linked lists and how to implement LinkedList and custom LinkedList using C#.
Using Fluent Assertions can greatly improve .NET unit test code. This article gives some .NET developer tips after a re-visit to the docs and a version update.
How do we add values to an array in C#? There are a few ways we can do it and then we'll do a benchmark to see which one is the fastest.
In this article, we are going to talk about different techniques that we can use to initialize arrays in C#.
Let's explore global using directives in C# 10, a nice way to make your namespaces available throughout your project.
Online debuggable examples of foreach loop, continue/break statement, custom IEnumerable implementation. ➤ foreach (var name in names) {...}
Let's make our anonymous objects easier to copy using the with expression!
Is your string really empty, or has it hidden characters? With String.IsNullOrEmpty and String.IsNullOrWhiteSpace you can find it
Do you need the index of the current item in a foreach loop with C#? Here you'll see two approaches.
Shows how to case insensitive and case sensitive JSON deserialization using Newtonsoft and System.Text.Json
Though it may sound like our occasional April Fools Day joke, C# 9 is looking to add `and`, `or`, and `not` to its list of keywords. Specifically, for use in pattern matching.
A discussion about returning tasks directly rather than using async/await..
Microsoft added a lot of new syntax goodies in their latest release of C#, namely: index from the end, range operator, null coalescing operator, using variables, verbatim string with interpolation
Free videos for learning all aspects of the .NET developer platform, including web, mobile, desktop, C#, machine learning, containers/docker, and data access.
Learn what an exception is, about the anatomy of C# exceptions, the basic try catch finally block, exception filters, and how to create C# exception types.
Today we define the concept of a C# constructor, then show usage examples with general tips on best practices to follow and pitfalls to be aware of.
The next major version release of the C# language (C# 8) comes with exciting new features. Let's look at two new features in C# 8, static local functions and the using declaration.
By michaelscodingspot.com
A compilation of the best C# Developer Books to read in 2019 to improve your knowledge, and advance in your career.
Let's take an existing synchronous ASP.NET web app and begin refactoring it to use asynchronous programming. Sample C# project included.