在 C# Interactive 中取消转义字符串

Tes*_*_me 1 c# roslyn c#-interactive

在 VS 14 中,如果我输入(在 C# 交互窗口中)例如Environment.CurrentDirectory它说"C:\\Users\\some.username". 我怎样才能在"C:\Users\some.username"不手动删除字符的情况下获得呢?

Nov*_*kov 5

使用Console.WriteLine(value)

> Console.WriteLine(Environment.CurrentDirectory)
C:\Users\
>
Run Code Online (Sandbox Code Playgroud)