How do you get Endings C and D in NieR:Automata?

Quick answer: After Ending B, keep playing Route C. At the end you choose between C and D.
Show walkthrough
Finish B
Complete Routes A and B.
Play C
Keep going in the new chapters.
Choose
Pick Ending C or D at the end. Then continue with the Endings walkthrough – NieR:Automata.
