Shunde.NET Framework Class Library

ObjectUtils.GetFromList Method 

Gets a DBObject with the given id from an array of DBObjects, or null if the DBObject is not in the array

public static DBObject GetFromList(
   IEnumerable<T> objects,
   Int32 objectId
);

See Also

ObjectUtils Class | Shunde.Utilities Namespace