Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
Unit testing ensures code quality by validating individual functions or methods. It reduces regression testing efforts, enhancing software maintenance. Using frameworks like MS Test or NUnit, developers apply TDD principles to write test cases, ensuring robust applications.

Explore the cutting-edge realm of small language models with John Godel's comprehensive analysis in "Next Step of Efficiency." Delve into the mathematical underpinnings and algorithmic prowess that optimize these models, revolutionizing AI and NLP landscapes.

In C#, methods and properties are fundamental constructs used to define the behavior and state of objects. Understanding how to create and use methods and properties is essential for effective C# programming.

C# has ability to document code. It helps with readability and exploring code elements.

Explore the nuances of exception handling in C# .NET with a deep dive into 'throw', 'throw ex', and 'throw new Exception()'. Learn when to use each technique, their impact on stack traces and exception propagation, and best practices for effective error handling in your applications.

With the help of C# and FluentFTP, we can build a simple yet robust FTP client using this comprehensive guide by Ziggy Rafiq. This article describes how to set up a console application, integrate FluentFTP to transfer files seamlessly, and manage configuration securely using a JSON file.

This article explains design patterns, providing standard solutions for software design problems. It covers Creational, Structural, and Behavioral patterns with C# examples, including Singleton, Factory Method, Adapter, Composite, Observer, and Strategy patterns, enhancing code flexibility and maintainability.

Learn about Action and Func delegates in C# to master delegate usage for different scenarios. Action delegates are for methods that return void, while Func delegates handle methods with return values.

In this article, I'll discuss the C# static keyword, its purpose, and how to create static classes using C#. I'll also cover static variables, static methods, and static properties in C#.

Explore the performance of SQL bulk insert methods in C# .NET 8 by comparing Dapper, BulkCopy, and Table-Value Parameters. This comprehensive analysis covers implementation details, efficiency, and best practices for optimizing large data insertions, helping developers choose the right approach for their projects.

Learn how to efficiently read large Excel files using C# and OpenXML in this comprehensive guide. Explore techniques to handle big data within Excel, leveraging the power of OpenXML SDK for performance optimization.

Many developers still use older versions of C# due to legacy codebases, corporate constraints, and familiarity with older language features. Upgrading can seem daunting, but modern versions of C# offer significant benefits such as better performance, enhanced features and improved security.

This article explores the features and uses of KeyValuePair<TKey, TValue> and IDictionary<TKey, TValue> in C#. It highlights KeyValuePair's immutability and its use in representing single key-value pairs while emphasizing IDictionary's role in managing collections of unique key-value pairs with efficient operations.

Discover how to leverage the .NET Presentation library in C# to create column, pie, and combination charts for effective data visualization in PowerPoint. Enhance presentations with clear, insightful graphical representations, facilitating data-driven insights and comparisons across different chart types.

Programming C# is a concise 56-page tutorial book aimed at beginners and students. Learn C# programming fundamentals, syntax, data types, and advanced topics like classes, arrays, and exception handling. Download Visual Studio 2017 Community for free to start coding in C#. Discover more free C# books and resources to deepen your knowledge.

Learn about StreamReader and StreamWriter classes in C#. These classes are essential for reading from and writing to files efficiently. Understand their usage for file handling tasks, including reading text files line by line or writing data to files.

Learn common C# code smells and better alternatives, including boolean comparisons, exception rethrowing, string concatenation in loops, and duplicate conditional logic.

A Transaction Scope or Nested Transaction in database management refers to managing atomic, consistent, isolated, and durable operations. It involves handling multiple database actions as a single unit, ensuring data integrity and reliability.

Constructors in C# initialize objects upon creation. They ensure objects start in a defined state by setting initial values or performing necessary setup. Types include default (without parameters), parameterized (with inputs), copy (from another instance), static (for class-level initialization), and private (restricting instance creation).

Explore Finalize, Destructor, IDisposable pattern in C# for managing unmanaged resources. Learn about memory management, Garbage Collector behavior, and IDisposable interface. Implement IDisposable for efficient memory cleanup and use Using block for automatic disposal, optimizing performance.

This article provides tips on creating an SQL table using an XML file and importing data into it. It covers creating a DataTable from an XML file, generating an SQL table from the DataTable, and using SQL's BulkCopy feature for efficient data import.

Comparison operations are a fundamental aspect of programming in C#. Whether you're comparing primitive types, strings, or objects, or handling null values, understanding the nuances of comparison can enhance both the performance and readability of your code.

Learn how to define C# enums with custom string values using EnumMember and DataContract, then convert between enum values and their string representations.

Discover how to implement pagination in C# with this comprehensive guide. Learn to use ASP.NET Core, Entity Framework, and LINQ for efficient data paging. This guide covers server-side and client-side pagination, using Skip and Take methods, handling pagination parameters, and provides easy code examples for seamless integration.

Learn to connect to SAP with C# using SAP .NET Connector 3.0 for RFC and Web services. Implement ECCDestinationConfig and IRfcTableExtension classes. Access SAP functions, structures, and tables with IRfcFunction, IRfcStructure, and IRfcTable. Connect to SAP system, send data, and handle exceptions effectively.

Here is a list of the most popular OOPS interview questions and answers explained. These OOPS interview questions are for both beginners and professional C# developers.

Learn about optimizing web application performance through cache implementation. Understand various cache types like in-memory, persistent, and distributed caches. Explore methods to add, store, retrieve, and manage data in the cache using .NET MemoryCache.

Explore the nuances of memory management in C# programming, distinguishing between value types and reference types, understanding dynamic and static memory allocation, evaluating access efficiency, recursion implications, handling StackOverflowException, and the role of garbage collection in managing memory resources efficiently.

The "break" statement in C# is a control flow statement that terminates the nearest enclosing loop or switch statement. It is commonly used to exit a loop prematurely when a specific condition is met, improving code readability and efficiency.

In this article, we will learn Multithreading is a parallel way of execution where the application is broken into parts so that it can have more than one execution path at the same time.
Everything on C#, not only its articles: the C# page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article