Namespace:MrSquirrely.Fun.LettersClass:ExtMethods
A C# extension library that enables a fluent, property-based API for string construction. Instead of typing string literals, you can "chain" characters and symbols together as properties.
- Fluent Chaining: Append characters using dot notation (e.g.,
"Start".d.o.t). - Full Alphabet Support: Includes all uppercase (
.A-.Z) and lowercase (.a-.z) letters. - Symbol Mapping: Maps special keyboard characters to descriptive text properties (e.g.,
!becomes.exclamation). - Safe Escaping: Automatically handles C# string escaping for complex characters like quotes, backslashes, and curly braces.
Import the namespace to enable the extensions on any string object.
usingMrSquirrely.Fun.Letters;publicvoidWriteFluently(){// Traditional: "Hello World!"// Fluent:stringtext="H".e.l.l.o.space.W.o.r.l.d.exclamation;// Result: "Hello World!"}