static async Task ListAccounts() { using (RobinhoodClient client = new RobinhoodClient(_token)) { var result = await client.Accounts(); if (result.StatusCode == System.Net.HttpStatusCode.OK) { result.Data.Results.ForEach(account => Console.WriteLine(account.AccountNumber) ); } } }