Last active
June 6, 2022 23:01
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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