📅  最后修改于: 2022-03-11 14:48:43.489000             🧑  作者: Mango
using (var reader = new StringReader(multiLineString))
{
for (string line = reader.ReadLine(); line != null; line = reader.ReadLine())
{
// Do something with the line
}
}