如果我有一个包含文本信息的变量(例如从textarea中获取),我如何逐行读取字符串变量中保存的文本内容?
在文本区域中输入的文本将具有\n(输入键)以分隔该行.
.net c# asp.net string
.net ×1
asp.net ×1
c# ×1
string ×1