Which of the following sentences is written correctly
A. Him and me made a delicious dinner for our parents.
B. He and I made a delicious dinner for our parents.
C. He and me made a delicious dinner for our parents.
D. Him and I made a delicious dinner for our parents.