I think that you're not going to accomplish what you're attempting with this code. It is fundamentally unsound.
You're trying to compare Nums, which, based on your For Each, must be a collection of Foos, to a Foo. You're trying to compare a whole collection of objects to a single object...