Skip to content

Instantly share code, notes, and snippets.

@jianminchen
Last active June 6, 2022 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jianminchen/fd4fef905fd07a483e5228f86563f083 to your computer and use it in GitHub Desktop.
Save jianminchen/fd4fef905fd07a483e5228f86563f083 to your computer and use it in GitHub Desktop.
Prepare a test case for C# - Email - DIOLIG agent - email confirmation setup - June 6, 2022
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestingCode
{
class Program
{
static void Main(string[] args)
{
var emails = new string[] { "test1", "test2"};
var list = emails.ToList();
Add(list);
var debug = list.ToArray();
}
public static void Add(List<string> list)
{
list.Add("test");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment