title: How can I write (userInput >= "50") properly?
body: <p>I mean to say "If the number typed by the user is greater than 50 then..."
  How can I write this properly? Because this error shows up in Visual Studio:</p>
  
  <p>Operator '>=' cannot be applied to operands of type 'string' and 'string'</p>
  
  <pre><code>Console.Write("Enter a number: ");
          string userInput = Console.ReadLine();
          string message = (userInput &gt;= "50") ? "Your number is greater than 50" : "You number is less than 50";
  
          Console.WriteLine(message);
          Console.ReadLine();
  </code></pre>