C#编程--字符串

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            //字符串

            //1,转义字符 \ 是转义符  写路径的是要要用、
            string s = "a\"/";
            Console.WriteLine(s);

            //2,@表示将字符串中的\不得当成转义符
            s = @"a\";
            Console.WriteLine(s);
            


            Console.ReadKey();

        }
    }
}