DEV Community

C#

Official tag for the C# programming language.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Unit Testing in C# with xUnit and Moq: Proving the Repository Pattern Actually Pays Off

Unit Testing in C# with xUnit and Moq: Proving the Repository Pattern Actually Pays Off

Comments
8 min read
5 ways null gets past C# nullable reference types

5 ways null gets past C# nullable reference types

Comments
4 min read
Debugging ORA-06550 / PLS-00201 in ADO.NET: A Checklist Before You Start Changing Permissions

Debugging ORA-06550 / PLS-00201 in ADO.NET: A Checklist Before You Start Changing Permissions

Comments
3 min read
5 RAG Mistakes That Leak Private Docs Into Chat Answers

5 RAG Mistakes That Leak Private Docs Into Chat Answers

Comments 1
4 min read
Are exceptions really slow in C#? I threw a million to find out

Are exceptions really slow in C#? I threw a million to find out

Comments
4 min read
GPT-6 Astra Is Now Generally Available in Foundry — What It Means If You Write C#

GPT-6 Astra Is Now Generally Available in Foundry — What It Means If You Write C#

1
Comments
14 min read
Testing HttpClient the Right Way: Mock Handlers, Not Interfaces

Testing HttpClient the Right Way: Mock Handlers, Not Interfaces

Comments
4 min read
I was tired of spending 3 weeks setting up Auth & Billing, so I built NetPulse

I was tired of spending 3 weeks setting up Auth & Billing, so I built NetPulse

Comments
2 min read
5 LINQ traps that look harmless (with real output)

5 LINQ traps that look harmless (with real output)

Comments 1
3 min read
Interfaces in C#

Interfaces in C#

Comments
18 min read
Delivery Remainder cancellation

Delivery Remainder cancellation

Comments
3 min read
Route Once, Fail Over Among Equals: When NOT to Retry an LLM Call

Route Once, Fail Over Among Equals: When NOT to Retry an LLM Call

Comments
4 min read
Structs Aren't on the Stack. How C# Actually Manages Memory.

Comments explain escape analysis and closures

Structs Aren't on the Stack. How C# Actually Manages Memory.

46
Picked as gem Comments 14
10 min read
5 Mistakes That Make LLM Streaming Break on a Flaky Network

5 Mistakes That Make LLM Streaming Break on a Flaky Network

Comments 1
4 min read
Generics in C#

Generics in C#

Comments 1
19 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.