title: How do I use an if statement correctly?
body: <p>I am not able to get this to run, because of the 1st line in the <code>if</code> statement. I am sure something needs to be converted, but I am not sure what.</p>
  <h3>My code:</h3>
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Text;
  
  namespace xx
  {
      class Program
      {
          static void Main(string[] args)
          {
             
             string userInput;
              Console.Write(&quot;what number do you choose: &quot;);
              userInput = Console.ReadLine();
  
              if (userInput &gt; 100)
                  Console.WriteLine(&quot;I hate myself&quot;);
              else
                  Console.WriteLine(&quot;I love myself&quot;);
  
  
          }
      }
  }
  </code></pre>