Skip to content

Update Escaping the Backslash sample to .NET 11 - #2453

Merged
vladimir-pecanac-main merged 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/103961-csharp-escape-the-backslash-character
Dec 1, 2026
Merged

vladimir-pecanac-main merged 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/103961-csharp-escape-the-backslash-character

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Moves both projects in csharp-basic-topics/EscapingBackSlashInCSharp to net11.0 and the test project to MSTest 4.5.3, Microsoft.NET.Test.Sdk 18.12.0 and coverlet.collector 10.1.1, fixes the string interpolation test that called UsingStringFormat, and adds ContainsBackslash, ContainsBackslashUsingVerbatimPattern and EscapeForRegex with tests for them, the raw string literal method and the double backslash length (10 tests).

Target net11.0, update test packages, fix the string interpolation test
calling the wrong method, add regex helper methods and tests.
@vladimir-pecanac-main
vladimir-pecanac-main merged commit 99af109 into CodeMazeBlog:main Dec 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant