title: C# While TryParse
body: <pre><code>char typeClient = ' ';
  bool clientValide = false;
  while (!clientValide)
  {
       Console.WriteLine("\nEntrez le type d'employé (c ou g) : ");
       clientValide = char.TryParse(Console.ReadLine(), out typeClient);
       if (clientValide)
           typeClient = 'c';
  }
  </code></pre>
  
  <p>I'd like to make it so it doesn't exit the while unless the char is 'g' or 'c'
  help ! :)</p>