Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Series
Backend
PART 08
Span<T> and Memory<T> in C#: Allocation-Free Parsing, stackalloc and ref struct Rules
Copy-free slicing and allocation-free parsing with Span<T>, a measured allocation difference, stackalloc and its safe pattern, ref struct restrictions, and Memory<T> for async code.
7 Nov 2026
10 min
15
Backend
PART 12
Value Types and Reference Types in C#: Assignment, Copying and the Special Case of string
The difference between value types and reference types in C#: what gets copied on assignment and when passing to a method, why string behaves like a value type, what is right and what is missing in the stack and heap story, equality, boxing, and struct pitfalls in collections.
7 Nov 2026
9 min
8