I'm trying to not hardcode my tokens into my program but I can't figure out how to look for a specific line with a certain word from a text file.
My current code is:
System.IO.File.ReadAllLines(@"C:\INPUTFILE.txt")
How can I modify this to find the line that starts with "CERTAINWORD", or give me a null if it doesn't?