var sb = new StringBuilder();
var lng = Math.Min(a.Length, b.Length);
for(int i = 0; i < lng; i++)
{
sb.Append(a[i]);
sb.Append(b[i]);
}
if(a.Length > b.Length)
sb.Append(a.Substring(lng));
else if(b.Length > a.Length)
sb.Append(b.Substring(lng));
textBox1.Text = sb.ToString();
public class AccountModel
{
public string AccountType { get; }
public string Email { get; }
public string Password { get; }
public AccountModel(string account_type, string email, string password)
{
this.AccountType = account_type;
this.Email = email;
this.Password = password;
}
}
result = min.FindMin(20,10);
У проекта уже есть файл App.config поэтому не хотел создавать другие файлы.