Skip to content

Commit 9262dd8

Browse files
Formatting Fix
1 parent d149a5a commit 9262dd8

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

USE_CASES.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -320,37 +320,37 @@ using System.Collections.Generic;
320320

321321
namespace Example
322322
{
323-
internal class Example
324-
{
325-
private static void Main()
326-
{
327-
Execute().Wait();
328-
}
329-
330-
static async Task Execute()
331-
{
332-
var apiKey = Environment.GetEnvironmentVariable("NAME_OF_THE_ENVIRONMENT_VARIABLE_FOR_YOUR_SENDGRID_KEY");
333-
var client = new SendGridClient(apiKey);
323+
internal class Example
324+
{
325+
private static void Main()
326+
{
327+
Execute().Wait();
328+
}
329+
330+
static async Task Execute()
331+
{
332+
var apiKey = Environment.GetEnvironmentVariable("NAME_OF_THE_ENVIRONMENT_VARIABLE_FOR_YOUR_SENDGRID_KEY");
333+
var client = new SendGridClient(apiKey);
334334

335335
var from = new EmailAddress("[email protected]", "Example User");
336336
var tos = new List<EmailAddress>
337-
{
338-
new EmailAddress("[email protected]"),
339-
new EmailAddress("[email protected]"),
340-
new EmailAddress("[email protected]")
341-
};
337+
{
338+
new EmailAddress("[email protected]"),
339+
new EmailAddress("[email protected]"),
340+
new EmailAddress("[email protected]")
341+
};
342342
var subject = "Sending with SendGrid is Fun";
343-
var plainTextContent = "and easy to do anywhere, even with C#";
344-
var htmlContent = "<strong>and easy to do anywhere, even with C#</strong>";
345-
346-
var msg = MailHelper.CreateSingleEmailToMultipleRecipients(from,
347-
tos,
348-
subject,
349-
plainTextContent,
350-
htmlContent
351-
);
352-
}
353-
}
343+
var plainTextContent = "and easy to do anywhere, even with C#";
344+
var htmlContent = "<strong>and easy to do anywhere, even with C#</strong>";
345+
346+
var msg = MailHelper.CreateSingleEmailToMultipleRecipients(from,
347+
tos,
348+
subject,
349+
plainTextContent,
350+
htmlContent
351+
);
352+
}
353+
}
354354
}
355355
```
356356

0 commit comments

Comments
 (0)