I have replaced my alternator camshaft position sensor vehicle starts up and shuts right down what's my problem
What is your question?
Reason for changing alternator light went on and shut down and will not turn back on and it said replace alternator and then I turn it on and it stayed on for a moment and then it shut down so I was told to replace crankshaft position sensor now turns on I won't stay on what's my problem
Who "told" you to replace the crankshaft position sensor?
What troubleshooting has been performed before either part was replaced? Warning lights don't tell you to do anything in specific; they advise that a problem has occurred related to a certain system and that troubleshooting must be performed.
Use this link to find some shops near you that can help with your concern:
www.repairpal.com/repair-shops
RepairPal Certified shops can diagnose and repair your 2002 Mercedes-Benz C240. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.