using SendGrid; using SendGrid.Helpers.Mail; var message = new SendGridMessage(); var recipients = new ListIn this example, we create a new SendGridMessage object and add two email addresses to the recipients list using the AddTos method. The first parameter of AddTos is a list of EmailAddress objects which takes in an email address and an optional display name. This code example uses the SendGrid library, which is a package that provides a C# implementation of the SendGrid API for sending emails.{ new EmailAddress("[email protected]", "John Doe"), new EmailAddress("[email protected]", "Jane Smith") }; message.AddTos(recipients);