I am looking to read a `.txt` file in c# for a specific value then store it in a value itself example I have a text file, `example.txt`, having several lines however I am searching for a line that states `Damian:2014/12/04`then only store `2014/12/04` to a initialized value example `DateTime storedate;` Using this example I managed to read all the lines in the file and search for the specific file, however I dont know how to store it and do the trim to just capture the date and the date is interchangeable so its just the the date that follows im trying to get.

```
int counter = 0;
DateTime storedate;
string line;

StreamReader file = new StreamReader(@"c:\example.txt");
while ((line = file.ReadLine()) != null)
{
   if (line.Contains("Damian:"))
      // Im stuck as what to do next
}
file.Close();

```