class B
{
static void Main(string[] args)
{
string[] a = new string[4] { "0 ","1","2","3"};
string[] b = new string[2] { "0 ", "1" };
List<string> list = new List<string>(a);
foreach (string s in b)
{
if (list.Contains(s))
{
list.Remove(s);
}
}
string[] result = list.ToArray();
for (int i = 0; i <= result.Length-1; i++)
{
Console.WriteLine(result[i]);
}
Console.ReadLine();
}
}
{
static void Main(string[] args)
{
string[] a = new string[4] { "0 ","1","2","3"};
string[] b = new string[2] { "0 ", "1" };
List<string> list = new List<string>(a);
foreach (string s in b)
{
if (list.Contains(s))
{
list.Remove(s);
}
}
string[] result = list.ToArray();
for (int i = 0; i <= result.Length-1; i++)
{
Console.WriteLine(result[i]);
}
Console.ReadLine();
}
}