C# StringType Mental Model — From "Hi Cristian" to LLM-Ready Code


Every C# developer uses string every day.

But if you ask:


What exactly is System.String under the hood?

Why is it immutable, and why does that matter for performance?

How does the CLR store and move string data?

How do I explain this to an LLM so it can refactor or optimize...