combine two lists c#
List<string> a = new List<string>();
List<string> b = new List<string>();
a.AddRange(b);
combine two lists c#
List<string> a = new List<string>();
List<string> b = new List<string>();
a.AddRange(b);
combine two arraylist c#
class Program
{
static void Main(string[] args)
{
ArrayList CountryList1 = new ArrayList();
ArrayList CountryList2 = new ArrayList();
CountryList1.Add("Pakistan");
CountryList1.Add("Nepal");
CountryList2.Add("Butan");
CountryList2.Add("Srilanka");
CountryList1.AddRange(CountryList2);
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us