diff --git a/README.md b/README.md index 094527f4..cde2ad1e 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ public class Account var accounts = await client.QueryAsync("SELECT id, name, description FROM Account"); -foreach (var account in accounts.records) +foreach (var account in accounts.Records) { Console.WriteLine(account.Name); } @@ -173,7 +173,7 @@ You can query for metadata: ```cs var describe = await client.DescribeAsync("Account"); -foreach (var field in (JArray)describe["fields")) +foreach (var field in (JArray)describe["fields"]) { Console.WriteLine(field["label"]); }