DEV Community

C#

Official tag for the C# programming language.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Flexible C# with OOP Principles:Assessing Improvement in Account State Management with the State Design Pattern in C#

Flexible C# with OOP Principles:Assessing Improvement in Account State Management with the State Design Pattern in C#

1
Comments
4 min read
SOLID: Open-Closed Principle in C#

SOLID: Open-Closed Principle in C#

10
Comments 6
3 min read
.NET 9 is Officially Out Today: Unpacking the Top Updates Across 8 Key Areas! 🎉

.NET 9 is Officially Out Today: Unpacking the Top Updates Across 8 Key Areas! 🎉

7
Comments
3 min read
Creating a RESTful API with .NET and Clean Architecture: A Complete Guide 🚀

Creating a RESTful API with .NET and Clean Architecture: A Complete Guide 🚀

28
Comments
4 min read
Composing Methods: A Practical Guide to Clean Code

Composing Methods: A Practical Guide to Clean Code

3
Comments
4 min read
Attributes for Null-State Static Analysis in C#

Attributes for Null-State Static Analysis in C#

2
Comments
4 min read
Code Structure with Dapper and Dapper.Contrib

Code Structure with Dapper and Dapper.Contrib

Comments
3 min read
[PT_BR] Repositório Genérico com Dapper.Contrib

[PT_BR] Repositório Genérico com Dapper.Contrib

Comments
4 min read
Understanding NotNullWhen in C#

Understanding NotNullWhen in C#

4
Comments
3 min read
Custom NET8 Entity Framework Core Generic Repository

Custom NET8 Entity Framework Core Generic Repository

Comments
2 min read
Getting Started with FastEndpoints for Building Web APIs in .NET

Getting Started with FastEndpoints for Building Web APIs in .NET

1
Comments
6 min read
C# <-> JSON|XML

C# <-> JSON|XML

Comments
5 min read
Mastering Dependency Injection in .NET 8: Best Practices and Proven Patterns for Cleaner Code

Mastering Dependency Injection in .NET 8: Best Practices and Proven Patterns for Cleaner Code

1
Comments
2 min read
Comprehensive Testing in .NET 8: Using Moq and In-Memory Databases

Comprehensive Testing in .NET 8: Using Moq and In-Memory Databases

1
Comments
4 min read
Which ORM Do You Prefer: 𝗗𝗮𝗽𝗽𝗲𝗿 or 𝗘𝗙 𝗖𝗼𝗿𝗲?

Which ORM Do You Prefer: 𝗗𝗮𝗽𝗽𝗲𝗿 or 𝗘𝗙 𝗖𝗼𝗿𝗲?

5
Comments
3 min read
Top 10 C# open-source projects on Github

Top 10 C# open-source projects on Github

4
Comments
3 min read
You should know these different execution types in LINQ before writing in C#

You should know these different execution types in LINQ before writing in C#

2
Comments 2
2 min read
⚙️ Pro Tip: Use ref Locals and Returns for Performance Optimization

⚙️ Pro Tip: Use ref Locals and Returns for Performance Optimization

Comments
1 min read
NET6 - C# DistinctBy

NET6 - C# DistinctBy

2
Comments 1
6 min read
Layered Architecture (N-Tier)

Layered Architecture (N-Tier)

Comments
5 min read
Building a Console-Based Calculator in C#

Building a Console-Based Calculator in C#

6
Comments 2
2 min read
🔐 How to Implement OAuth 2.0 Authentication in ASP.NET Core with External APIs

🔐 How to Implement OAuth 2.0 Authentication in ASP.NET Core with External APIs

3
Comments 3
3 min read
Secure Game Authentication: Encryption Techniques and their Role in Unity Game Development

Secure Game Authentication: Encryption Techniques and their Role in Unity Game Development

Comments
6 min read
Understanding and Writing Methods in C#

Understanding and Writing Methods in C#

2
Comments
3 min read
Master Advanced LINQ in C#: Writing Ultra-Efficient Queries for Massive Datasets

Master Advanced LINQ in C#: Writing Ultra-Efficient Queries for Massive Datasets

3
Comments
3 min read
Rop.Results9 is a result/error discriminated union for .NET9

Rop.Results9 is a result/error discriminated union for .NET9

Comments
7 min read
C# Tip: Use const for Truly Constant Values

C# Tip: Use const for Truly Constant Values

Comments
1 min read
Dica C#: Use const para Valores Verdadeiramente Constantes

Dica C#: Use const para Valores Verdadeiramente Constantes

Comments
2 min read
Methods and Functions in C#: Writing Clean, Maintainable Code

Methods and Functions in C#: Writing Clean, Maintainable Code

3
Comments
3 min read
Part 2: C# Fundamentals: Variables and Data Types

Part 2: C# Fundamentals: Variables and Data Types

Comments
3 min read
Link Many To Many entities with shadow join-table using Entity Framework Core

Link Many To Many entities with shadow join-table using Entity Framework Core

Comments
3 min read
c# advanced: Adding Additional Members to a Record in C#

c# advanced: Adding Additional Members to a Record in C#

2
Comments 1
5 min read
c# advanced: Enhancing Records Adding Flexibility with Additional Members

c# advanced: Enhancing Records Adding Flexibility with Additional Members

3
Comments
4 min read
List all Visual Studio solutions

List all Visual Studio solutions

1
Comments 1
7 min read
5 WAYS TO ORGANIZE YOUR C# CODES IN GODOT

5 WAYS TO ORGANIZE YOUR C# CODES IN GODOT

1
Comments
4 min read
c# advance : Introduction to Records in C#

c# advance : Introduction to Records in C#

4
Comments 1
4 min read
Getting Started with C# and .NET Development: A Beginner's Guide

Getting Started with C# and .NET Development: A Beginner's Guide

8
Comments
2 min read
Estruturas de Dados: Conceitos e Implementações – Parte 1: Arrays

Estruturas de Dados: Conceitos e Implementações – Parte 1: Arrays

1
Comments
6 min read
C# Tip: Use readonly for Immutable Constants

C# Tip: Use readonly for Immutable Constants

Comments
1 min read
Dica C#: Utilize readonly para Constantes Imutáveis

Dica C#: Utilize readonly para Constantes Imutáveis

Comments
2 min read
The Evolution of .NET: Why It Still Matters in 2024

The Evolution of .NET: Why It Still Matters in 2024

3
Comments
3 min read
Pattern Matching

Pattern Matching

Comments
1 min read
C# Tip: Use var for Obvious Types, but Prefer Explicit Types for Ambiguous Types

C# Tip: Use var for Obvious Types, but Prefer Explicit Types for Ambiguous Types

6
Comments 3
1 min read
Game Dev Digest — Issue #257 - Lessons Learned, and more

Game Dev Digest — Issue #257 - Lessons Learned, and more

1
Comments
8 min read
Dica C#: Use var para Tipos Evidentes, mas Prefira Tipos Explícitos para Tipos Ambíguos

Dica C#: Use var para Tipos Evidentes, mas Prefira Tipos Explícitos para Tipos Ambíguos

Comments
1 min read
🚀What is Race Hazards and how to avoid it in C#🚀

🚀What is Race Hazards and how to avoid it in C#🚀

Comments
2 min read
Integration Tests en .NET con TestContainers: Pruebas de Base de Datos Aisladas

Integration Tests en .NET con TestContainers: Pruebas de Base de Datos Aisladas

5
Comments
14 min read
Any() vs Count, Which one to choose??

Any() vs Count, Which one to choose??

1
Comments
4 min read
Functional Programming in C#

Functional Programming in C#

Comments
28 min read
Step-by-Step Guide: Querying From Databases Via a Single Database Helper Using the Strategy Design Pattern

Step-by-Step Guide: Querying From Databases Via a Single Database Helper Using the Strategy Design Pattern

6
Comments
3 min read
🔎Exploring Design Patterns: Factory Method

🔎Exploring Design Patterns: Factory Method

2
Comments
3 min read
c# advanced: Logical and Relational Patterns in C#

c# advanced: Logical and Relational Patterns in C#

5
Comments
4 min read
Dica C#: Evite Variáveis Não Utilizadas

Dica C#: Evite Variáveis Não Utilizadas

Comments
2 min read
Storing passwords safely (C#)

Storing passwords safely (C#)

54
Comments 26
6 min read
C# Tip: Avoid Unused Variables

C# Tip: Avoid Unused Variables

Comments
1 min read
Icon Banks for Winforms and .NET9

Icon Banks for Winforms and .NET9

1
Comments
3 min read
C# Tip: Naming Variables and Methods

C# Tip: Naming Variables and Methods

Comments
1 min read
Dica C#: Nomeação de Variáveis e Métodos

Dica C#: Nomeação de Variáveis e Métodos

Comments
2 min read
.Net Attribute-based data mapping approach to streamline communication between services

.Net Attribute-based data mapping approach to streamline communication between services

2
Comments
1 min read
Task Cancellation Pattern

Task Cancellation Pattern

Comments
1 min read
loading...