Which of the following sentence contains a compound predicate?

AWhile he swam, she collected shells.
BShe raced along the path to beat him to the beach.
CShe placed the shells in a plastic bag while he dried himself off.
DShe washed the shells and dried them in the sun.