summaryrefslogtreecommitdiffstats
path: root/examples/categories/categories.cs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/categories/categories.cs')
-rw-r--r--examples/categories/categories.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/categories/categories.cs b/examples/categories/categories.cs
index 7e18c8e..c120b4b 100644
--- a/examples/categories/categories.cs
+++ b/examples/categories/categories.cs
@@ -1,5 +1,6 @@
using System;
using SendGrid.Helpers.Mail; // If you are using the Mail Helper
+using Newtonsoft.Json; // You can generate your JSON string yourelf or with another library if you prefer
string _apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY", EnvironmentVariableTarget.User);
dynamic sg = new SendGrid.SendGridAPIClient(_apiKey);