Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
Learn to implement background services in C# for efficient multitasking. Explore asynchronous programming techniques, including async/await pattern, timers, and threading.

Learn how to create Windows Services in C# with this comprehensive guide. Explore the .NET Framework to build robust background processes.

Discover how to efficiently extract plain text from rich HTML content using Regex in C#. Follow our step-by-step guide to implement a simple method that enhances data processing in your applications.

Discover how ObservableCollection in C# revolutionizes UI development by enabling dynamic data binding and real-time updates.

Records in C# provide a succinct and expressive syntax for defining immutable data types. In this simple blog post we will go over the basics of C# 9's record types, checking out how they work, why they're great, and some examples to help you understand better.

The Singleton Design Pattern ensures that a class has only one instance and provides a global point of access to it. It's useful for scenarios requiring shared resources, logging, or managing configuration settings efficiently.

Named arguments in C# allow you to specify arguments for a method by providing the parameter name followed by a colon and then the value. This feature was introduced in C# 4.0.

Const variables are immutable, set at compile time, must be initialized. Read-only variables are also immutable, set at runtime, can be initialized in constructors. Const values are static, while read-only values can vary per instance.

Comparing static variables with non-static variables in terms of initialization, access, and scope. Understand the significance of static and non-static constructors and their behavior during object instantiation. Learn about static classes and methods, their accessibility and usage without instantiation.

Static keyword's role in instantiating classes once internally. Differentiate between using static and non-static methods, exploring instantiation and usage in C#. Learn the benefits and limitations of making classes static, emphasizing their fixed nature and implications for inheritance and polymorphism.

Delegates in C# are fundamental to event-driven programming and provide a powerful mechanism for handling callbacks. However, they can initially seem daunting to beginners. In this blog post, we'll explore 10 simple tricks to help you understand C# delegates better, complete with code snippets.

C# data types encompass various categories such as numeric, boolean, character, string, object, and more. They define the type of data a variable can hold, ensuring type safety and facilitating operations.

Explore the power of Func<Task> delegate in C#. With async/await, execute asynchronous operations seamlessly. Harness concurrency, handle events, and compose asynchronous functions effortlessly.

Type casting helps convert one type of data to another. Implicit casting happens automatically without losing data when going from smaller to larger types. Explicit casting is needed to convert larger types to smaller ones, which may lose data. In C#, methods like Parse() and Convert.ToString() handle conversions between incompatible types.

C# follows a hierarchical structure. Namespaces encapsulate related objects. Classes define data structures with variables and functions. Members include properties, methods, and constructors within classes. Methods execute code blocks containing statements. Statements are units of code expressing actions.

The given code snippet converts an HTML string to a PDF document using iTextSharp library in C#. The PDF is then served as a download to the user.

In this bolg, we will learn about Class and Object in C#. In programming, a class defines data and actions, while an object is an instance of that class. See an example in C#.

In this blog post, we'll explore how to create a real-time CSV file generation system using Kafka consumers in a C# application. Our goal is to configure up to 5 Kafka consumers, read data from a database table, and generate a CSV file whenever an update operation occurs in the table.

Learn how to navigate method conflicts when inheriting multiple interfaces. This guide explores resolution strategies for conflicting method names, ensuring smooth integration of interface implementations within your object-oriented programming projects.

C# supports powerful generic collections like HashSet for unique unordered elements and SortedList for sorted key-value pairs. HashSet ensures uniqueness, while SortedList maintains sorted order based on keys, offering efficient data management in diverse scenarios.

Learn about leveraging the power of generic collections in C# with Dictionary and List. Explore how to efficiently manage data using these versatile data structures, accommodating various types while maintaining type safety.

In this we will explore methods like Add, Contains, ContainsKey, and ContainsValue for data manipulation. Improve your understanding of data structures in C#.

Implementation of Inorder, Preorder, and Postorder traversal or a binary tree / binary search tree. Learn to implement binary tree traversal methods: Inorder, Preorder, and Postorder. Code examples are provided for traversing nodes in specific orders in both binary trees and binary search trees.

Binary search tree creation and insertion using a single loop. A binary search tree (BST) is a hierarchical data structure where each node has at most two child nodes. Follow these steps to implement and insert data into a binary search tree.

Learn about collections in C#, including non-generic and generic types. Explore Queue<T> creation and methods like Enqueue(), Dequeue(), and Peek() with examples for efficient programming. Happy coding!
Everything on C#, not only its blogs: the C# page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite a blog post and earn +250 SHARP when it is approved.
Write a blog