public static ResourcePool GetPrimordialResourcePool(string ResourceSubType) { return (ResourcePool.GetInstances() .Where((rp) => rp.Primordial == true && string.Compare(rp.ResourceSubType, ResourceSubType, true, CultureInfo.InvariantCulture) == 0) .First()); }