title: Error 1 Cannot implicitly convert type 'char' to 'bool'
body: <p>I've seen other questions but the answers seem so complicated and could not understand them so heres my code:</p>
  
  <p>Note:I'm new to language of c shar</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  
  namespace Input_Program
  {
      class Program
      {
         private static void Main()
         {
             Console.WriteLine("Welcome to my bool program!");
             Console.WriteLine("Input a NON capital y or n when told to.");
  
  
              char Y;
              char N;
  
              if(Y = 'y')
              {}
          }
      }
  }
  </code></pre>
  
  <p>Thanks
  Thanks</p>