title: If statement help ; different color to certain criteria
body: <p>Im a beginner, and If statements are my weakness. I have a simple program that displays files names that are located in a certain folder. However, some files might have lines that begin with LIFT. I want to catch those files that have that certain line, and display the file name in a different color (preferably red). Here is what I have so far: Any assistance would be greatly appreciated!! Thanks!</p>
  
  <pre><code>public partial class ShippedOrders : System.Web.UI.Page
  {
      class Program
      {
          static void Main()
          {
              string[] array1 = Directory.GetFiles(@"C:\Kaplan\Replies\");
              string[] array2 = Directory.GetFiles(@"C:\Kaplan\Replies\", "*.REP");
              Console.WriteLine("---Files:---");
              foreach (string name in array1)
              {
                  Console.WriteLine(name);
              }
              Console.WriteLine("---REP Files: ---");
              foreach (string name in array2)
              {
                  Console.WriteLine(name);
              }
          }
      }
  }
  </code></pre>