你的位置: 码友网首页 / 资讯源列表 / Introducing C#11: Raw string literals

关于[Introducing C#11: Raw string literals]的摘要:

C# 11 brings new syntax for writing plain text. Instead of relying on string interpolation with the character $ and the verbatim with @ character for writting on several lines, C# 11 allows using three double quotes. There is no need to double the quotes in the text to escape a double quote anymore. In this post, I will show you a simple example of it!

原文地址: https://anthonygiretti.com/2022/11/29/introducing-c11-raw-string-literals/

收录时间: 2022-11-30 浏览量: 494 分类: C#

| 0 收藏 | 0