I have a file with the following format
----------------------------------- File: test.cs Some Text Here http:\\link Comment #1 Comment #2 Comment #X -----------------------------------
I have the following class:
public class TextFile
{
public string File;
public string Description;
public string Link;
public List<string> Comments;
}
So far, I am able to grab all the text between the "-" lines, and have them stored in a local string buffer. Now, I am trying to parse that string buffer into the TextFile class. The issue I have is that the Comments can contain new line characters, so I can't simply split the buffer, and then parse the string array.