<commit_before>﻿using System;
using System.Net;
using System.Net.Mail;
using SendGrid;

namespace Example
{
	internal class Program
	{
		// this code is used for the SMTPAPI examples
		private static void Main()
		{
			// Create the email object first, then add the properties.
			var myMessage = new SendGridMessage();
			myMessage.AddTo("<EMAIL>");
			myMessage.From = new MailAddress("<EMAIL>", "<NAME>");
			myMessage.Subject = "Testing the SendGrid Library";
			myMessage.Text = "Hello World!";

		    SendAsync(myMessage);

			Console.ReadLine();
		}

        private static async void SendAsync(SendGridMessage message)
	    {
            // Create credentials, specifying your user name and password.
            var credentials = new NetworkCredential("username", "password");
<commit_msg>add substitution tag with unicode<commit_after>﻿using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Mail;
using SendGrid;

namespace Example
{
	internal class Program
	{
		// this code is used for the SMTPAPI examples
		private static void Main()
		{
			// Create the email object first, then add the properties.
			var myMessage = new SendGridMessage();
			myMessage.AddTo("<EMAIL>");
			myMessage.From = new MailAddress("<EMAIL>", "<NAME>");
			myMessage.Subject = "Testing the SendGrid Library";
			myMessage.Text = "Hello World! %tag%";

            var subs = new List<String> { "私はラーメンが大好き" };
            myMessage.AddSubstitution("%tag%",subs);

		    SendAsync(myMessage);

			Console.ReadLine();
		}

        private static async void SendAsync(SendGridMessage message)
	    {
            // Create credentials, specifying your user name and password.
            var credentials = new NetworkCredential("username", "password");

{'fraction_non_alphanumeric': 0.10633484162895927, 'fraction_numerical': 0.0, 'mean_word_length': 3.389578163771712, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4596218', 'n_tokens_mistral': 535, 'n_tokens_neox': 480, 'n_words': 157}