title: How would I make a Yes/No prompt in Console using C#?
body: <p>I'm mostly new to C# and I've been writing code to practice.</p>
  
  <p>I've written some code where you enter a line of text, or a "login key", and I want to make it where you can confirm that login key.</p>
  
  <p>Here's the code I've done so far, I will use "//" on the part I'm stuck on. (Wont include any unnecessary code.)</p>
  
  <pre><code>    Console.WriteLine("Please enter a login key.");
  
      string Key = Console.ReadLine();
  
      Console.WriteLine("You entered, " + Key + " as your login key!");
  
      Console.WriteLine("Are you sure you want to choose this as your login key? "); // This is where I'm stuck at, got no idea how to do a yes/no prompt.
  }
  </code></pre>
  
  <p>Any help would be greatly appreciated. </p>