//return the aligment between two organizations public int Alignment(Organization org) { //just the average of all alignments int sum = 0; Array topics = Enum.GetValues(typeof(Topic)); foreach(Topic t in topics){ sum += Alignment(t, org.GetStance(t)); } return sum / topics.Length; }