In C#, what's the difference between \n and \r\n?

后端 未结 8 1264
礼貌的吻别
礼貌的吻别 2020-12-14 00:37

As per subject...

8条回答
  •  南方客
    南方客 (楼主)
    2020-12-14 00:54

    \n is the line break used by Unix(-like) systems, \r\n is used by windows. This has nothing to do with C#.

提交回复
热议问题