Retrieving Sharepoint List C#

I'm trying to retrieve a SharePoint list and all the items within it, however I CANNOT seem to grab the list. I can connect to the site fine, but when I try to retrieve the list, I get a "CollectionNotInitialized" error. I'm logged in as admin and have full control permissions. Can anyone help explain this issue to me? Here is my code

 static void Main(string[] args)
            string userName = "//my user name";
            string password = "//my password";
            SecureString ssPwd = new SecureString();

            foreach(char c in password.ToCharArray())

            CamlQuery query = CamlQuery.CreateAllItemsQuery();
            ClientContext context = new ClientContext("https://my fake");
            SharePointOnlineCredentials credentials = new SharePointOnlineCredentials(userName, ssPwd);
            context.Credentials = credentials;

            Web web = context.Web;
            Microsoft.SharePoint.Client.List list = context.Web.Lists.GetByTitle("Accounts");


           // Console.WriteLine();


You can try the following code:

    var lists = web.Lists;
    context.Load(lists, all => all
      .Where(l => l.RootFolder.Name == "Accounts")
      .Include(l => l.Id));
    list = lists.Single();


 ? How to pull specific remote into current branch in VS Code
 ? Is error checking in VS Code exclusively tied to the file extension?
 ? TypeScript multi-line code not recognized
 ? How do I set the sidebar color in vscode
 ? Visual Studio Code: Display JSdoc for attribute
 ? webpack vs code sourcemaps in serverless
 ? VSCode - after last update (1.9.0), all extensions disabled, reload button on all
 ? How to live preview a set of files?
 ? eclipse.ini file not found in eclipse.exe folder in windows 100
 ? Grab ListViewItem objects out of ListView by index instead the data objects - Windows 10 Universal