example:
string str = "Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor
invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.";
string firstline;
How can I get just the first line from the string "str" into the string "firstline"?
new StringReader(str).ReadLine();
@TimRogers answer