private List<VariableIdentifier> getDatastructureAsListOfVariableIdentifers(ICollection<Variable> Variables) { var tempList = from v in Variables select new VariableIdentifier { name = v.Label, id = v.Id, systemType = v.DataAttribute.DataType.SystemType }; return tempList.ToList(); }