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.
IIn C#, Evidence is a class within the System.Security.Policy namespace. It is used in .NET Framework applications to represent the evidence that is used to establish the permissions granted to an assembly. Evidence can include various types of information, such as zone, URL, strong name, and hash. This information helps the .NET runtime make security decisions regarding code execution based on the provided evidence.

In this article, you will learn Method Overloading and Method Overriding in C#.

In this article I will explain you about C# Preprocessor Directives.

Here in this article, I am going to explain the types of delegates in C# along with the example.

In this article, we will learn how to calculate the angle between two hands of the clock in C#.

In this article, we are going to learn a new feature of C# 8.0 - Using declarations and Static local functions with examples.

This article explains how to create and format a chart using free Spire.xls.Creating and formatting charts using Free Spire.Xls involves several steps. Free Spire.Xls is a .NET library that allows you to create, manipulate, and format Excel files, including charts. Below is a step-by-step guide on how to create and format a chart using Free Spire.Xls in C#.

This article explains Extension methods. Extension methods are static methods, that are always implemented in a static class. In C# we already have some built-in extension methods like Union, Where and Zip.

Microsoft’s primary compute service is Azure function C#. We gain agility in development by focusing on our code and not worrying about server maintenance by using Azure functions. We are seeing the advantages of Azure functions and the simplicity of the event-driven model functions for integrating Azure services.

Learn how C# 7.0 tuples and ValueTuple support named elements, multiple return values, type inference, deconstruction, and async methods.

Many C# programmers are familiar with the Platform Invoke mechanism (using the DllImport attribute) for calling unmanaged functions from C#.

This article explores essential PDF tools like IronPDF, PDFTron, and QuestPDF, highlighting their features, use cases, and ease of implementation. IronPDF stands out for its simplicity and comprehensive support for PDF operations, while PDFTron offers scalability and modular functionality. QuestPDF, on the other hand, provides a user-friendly API for creating high-quality PDFs.

In this article, you will learn about C# HashTable and how to use a HashTable in C#.

Dynamic programming is a fundamental concept in computer science and software engineering, particularly within the context of algorithmic problem solving. In .NET 4.0, developers have access to powerful techniques for dynamic programming, enabling the efficient solution of complex problems.

In this article, we find the IP Address of the local device.

C# 9.0 introduced a significant language feature known as records, which simplifies the creation of classes for immutable data. Records provide a concise and elegant way to define classes for storing and manipulating data by reducing boilerplate code.

Arrays and Collections are fundamental data structures used in programming to store and manipulate multiple elements. An array is a fixed-size, ordered collection of elements of the same data type. It allows efficient access to elements using index positions. Arrays are ideal for storing a fixed number of items and offer quick retrieval of elements.

Learn how C# 2.0 lets you apply different access modifiers to property get and set accessors, including using a protected setter in a derived class.

The PermissionSet class in C# is a fundamental component of .NET security that allows developers to encapsulate a set of permissions for code execution. It enables the definition and management of fine-grained permissions required by an application to access various system resources and perform specific operations. With PermissionSet, developers can control actions like file operations, registry access, and network communication within the application's security context. By specifying the permissions a code segment needs, developers can enforce security policies, ensuring that the application runs securely and only performs authorized actions.

The article will explain the Jagged Arrays in C# with an example and easy explanation. Jagged arrays in C# enable the storage of data in varying lengths, offering flexibility in managing complex data structures. Explore how to declare, initialize, and utilize jagged arrays through a comprehensive C# example.

This article explains how to create a pyramid pattern using asterisks in the C# programming language. This pattern is created by printing rows of asterisks, with each row containing an increasing number of asterisks, creating the shape of a pyramid. It also explains the purpose of each line of code in the provided C# program.

Learn how to declare, instantiate, invoke, and multicast delegates in C#, including subscribing and unsubscribing methods with += and -=.

Regex, or regular expressions, are essential for text processing in C#. They facilitate pattern matching, data extraction, and validation, empowering developers with versatile and powerful text manipulation tools.

I created a class using mciSendString functions to play audio files then compile it to a dll file.

In this article, we will learn how to use Null-coalescing assignment operator in C# and also check the updated requirements of Null-coalescing operator requirements.

Conditional attributes are used in programming languages like C, C++, and C# to control whether or not specific code elements should be included in the compiled output. These attributes allow developers to conditionally include or exclude certain parts of the code based on preprocessor directives or compilation symbols. In C and C++, conditional compilation is primarily achieved using preprocessor directives like #ifdef, #else, #endif, etc. In C#, the [Conditional] attribute provides a similar functionality but at a more granular level, allowing methods to be conditionally compiled based on specified symbols.

Logging, an essential component in software development, aids in issue identification, resolution, and application monitoring. This article explores C# logging methodologies, including Microsoft.Extensions, Serilog, and Log4net integration.

Serialization in C# is the process of converting an object into a stream of bytes to store the object to memory, a database, or a file. Its main purpose is to save the state of an object in order to be able to recreate it when needed. The reverse process is called deserialization.

The purpose of this article would be to implement HttpHandler in order to allow file download only by logged in users and stop for anyone else.
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