Programmatically using a tab character in .NET

前端 未结 4 1319
情歌与酒
情歌与酒 2020-12-18 18:31

Is there a way to use a tab character like a new line character inside the Environment class, instead of using \"\\t\"?

4条回答
  •  生来不讨喜
    2020-12-18 19:23

    Are you looking for a pre-defined system constant for this (like Environment.NewLine)? There is no such thing as far as I know, but you could certainly create your own constant.

提交回复
热议问题