title: How to display items from List in C# (console application)
body: <pre><code>public class Program
  {
      public static List&lt;Players&gt; DB = new List&lt;Players&gt;();
  
      static void Main(string[] args)
      {
          Console.WriteLine("Please choose action: ");
          Console.WriteLine("Type 'Register', 'Deposit', 'Withdraw' or 'Info' to continue.");
      }
  
      static void Register()
      {
          Players Player = new Players();
  
          Console.WriteLine();
          Console.WriteLine("Register New Player");
          Console.WriteLine();
          Console.WriteLine("Please Type Username:");
          string username = Console.ReadLine();
          Player.username = username;
  
          Console.WriteLine();
          Console.WriteLine("Please Type Fisrt Name:");
          string firstname = Console.ReadLine();
          Player.firstname = firstname;
  
          Console.WriteLine();
          Console.WriteLine("Please Type Last Name:");
          string lastname = Console.ReadLine();
          Player.lastname = lastname;
  
          Console.WriteLine();
          Console.WriteLine("Please Type Birth Date:");
          string birthdate = Console.ReadLine();
          Player.birthdate = birthdate;
  
          DB.Add(Player);
      }
  
  }
  </code></pre>
  
  <p>So I'm asking how I can show items that are stored in DB list? Or I'm doing something wrong?</p>