using System.Collections.Generic;
using System.Threading.Tasks;
using System.Diagnostics;
public static void Main()
Console.WriteLine("Hello World");
List<Group> allGroup = new List<Group>();
g.manyID = new List<int>(new int[] { 1, 3 } );
g.manyID = new List<int>(new int[] { 0, 2, 4 } );
g.manyID = new List<int>(new int[] { 2, 3 } );
Group subGroup = new Group();
subGroup.manyID = new List<int>(new int[] { 0, 1 } );
List<Group> filterGroup = allGroup.Where( a => subGroup.manyID.Contains(a.otherID)).ToList();
Console.WriteLine("Groups : " + filterGroup.Count());