I am trying to create a program that will read a file, extract two lines and then act based on what those lines say.
What I need help with is actually reading the two lines. I am using the following code to read the first line which is www.yahoo.com
but I am not sure how to read line number two, and write it to a text box.
System.IO.StreamReader StreamReader3 =
txtWebsite.Text = StreamReader3.ReadToEnd();
What code can I get to read only line two which says "Yahoo!!!" into a text box called txtSiteName.Text