What is the best way to get a value from a ICollection? We know the Collection is empty apart from that.
If you know your collection has only one item, should only ever have one item, you can use the Linq extension method Single().
This converts a ICollection into a T object containing the single item of that collection. If the length of the collection is 0, or more than one, this will throw an InvalidOperationException.