Canned beans, for instance, are the same in either Can. (But don’t eat any canned foods because of the BPA)
Check the nutritional info and ingredients if you’re worried the food might taste different. If they’re close enough, the taste will be, too.
If I could calculate how much money this saves you over a year, or a lifetime, it would be staggering.