当前位置: 代码迷 >> 综合 >> 转义字符,字符转本身有\
  详细解决方案

转义字符,字符转本身有\

热度:90   发布时间:2024-01-17 03:43:58.0
using System;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("\\b");// \b
Console.ReadKey();// 按一个键继续执行
}
}
}


using System;namespace ConsoleApplication1
{class Program{static void Main(string[] args){Console.WriteLine("C:\\abs\\hello.jpg");// C:\abs\hello.jpgConsole.ReadKey();// 按一个键继续执行}}
}


  相关解决方案