Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
In C#, Thread and Task both handle asynchronous operations but differ in abstraction and management. Thread provides low-level control over execution paths and lifecycle but with higher resource overhead.

Explore the intricacies of memory management within the .NET Core Common Language Runtime (CLR). Understand garbage collection, memory allocation, managed heap, and optimization techniques.

C# 8.0 introduced default interface methods, enabling interfaces to include method implementations. This feature promotes backward compatibility, code reuse, and interface evolution without breaking existing implementations.

The Liskov Substitution Principle (LSP) is one of the five SOLID principles of object-oriented design. "Objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program." In simpler terms, if you have a base class (or interface) and a derived class, you should be able to replace the base class with the derived class without introducing errors or changing the expected behavior of the program.

A string in programming is immutable, meaning it cannot be modified once created; any changes result in a new object. For example, concatenating strings creates new instances.

Character frequency analysis in C# involves counting vowels efficiently using a dictionary. This approach ensures clarity and ease of implementation, aiding text analysis tasks effectively.

In this blog, you will learn about bulk Insert in SQL Server from C#.

Writing optimized code in C# is not just about achieving faster execution times; it's also about enhancing the readability, maintainability, and scalability of your codebase. In this blog post, we'll explore essential tips and techniques for writing efficient and optimized code in C#.

In C#, the IS keyword checks if an object is compatible with a given type, returning a boolean. AS keyword performs a safe type cast, returning null if the cast fails, facilitating type conversion and compatibility checking in object-oriented programming.

The difference between 'is' and 'as' operators.'is' checks compatibility of runtime type, 'as' converts compatible types. 'is' sends true if types match, false if not. 'as' returns object if compatible, null if not. 'is' for type compatibility check, 'as' for conversions.

In this blog, we will explains the method to find the square root of a number by own implementation using C#. It explains both basic and efficient ways to do the same.

The while loop in C# iterates a block of code as long as the specified condition remains true. It's useful for repetitive tasks with dynamic termination criteria, providing flexible control flow in programming logic.

In the world of C# programming, efficient sorting and comparison of objects are crucial. Whether you're dealing with complex data structures or simply want to sort a list of items, the IComparer interface provides a flexible and powerful way to define custom comparison logic.

Explore the power of loops in C#! This comprehensive guide delves into iteration mechanisms like for, while, and do-while loops, along with advanced concepts like nested loops and loop optimization.

Extension methods provide the ability to incorporate additional methods into existing types without the need to create a new derived type, recompile the code, or make any alterations to the original type. When it comes to client code written in C#, F#, and Visual Basic, there is no discernible distinction between invoking an extension method and utilizing the methods defined within a type.

How to split the string from Colon (:) or fetching specific first or second colon string in C#, Type Script, tsx file. To extract specific parts of a string in C# or TypeScript based on colon (:), you can utilize string manipulation functions. Here's how to retrieve text after the first or second colon:

Hash tables and dictionaries are data structures that store key-value pairs, offering efficient key lookup and retrieval. While both use hashing for quick access, dictionaries in C# provide type safety and better performance due to their generic nature, enhancing development in .NET.

Dictionary and Hashtable in C# store key-value pairs, but differ in performance, memory consumption, and thread safety. Hashtable is older and less efficient, while Dictionary offers better performance and type safety.

Learn how to use essential LINQ methods like First, FirstOrDefault, Single, and SingleOrDefault in C#. These methods enable you to retrieve elements from collections based on specified conditions.

Within the C# programming language, an enum, which is short for "enumeration," serves as a unique data type comprised of a group of named constants known as enumerators.

Whether you're dealing with a simple data set or a complex relational structure, DataTable offers a versatile solution for performing operations like adding, editing, and deleting rows with ease. In this article, we'll explore these operations in-depth using a practical example of managing employee data.

These examples show you how to perform the following tasks: Obtain the hexadecimal value of each character in a string. Obtain the char that corresponds to each value in a hexadecimal string. Convert a hexadecimal string to an int. Convert a hexadecimal string to a float.

Nullable is a term in C# that allows an extra value null to be owned by a form. We will learn in this article how to work with Nullable types in C#.

Open Visual Studio, switch to the master branch, sync or get the latest changes. Create a new branch under master. Navigate to branch history, cherry-pick your PR, resolve conflicts, and push changes.

Explore the concept of NULL in databases and programming languages, where it signifies the absence of a value or the lack of data. Understand its significance in SQL, its role as a placeholder, and its impact on logical operations.
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