Green beans can also be purchased canned for convenience and an extended shelf life. Look for cans that are free of leaks, dents, rust and bulges, which may be signs of contamination or spoilage.