06 and early 07 were bad years for MB. The v6 had been re-engineered and the new 7 sp trans had a lot of problems. Note to everyone: don't buy an 06-07 gas MB!
Of course you had no way of knowing this. Sorry you had to suffer with it.
Not only that, but the C class had more problems that the more expensive models like the E and S class. Although sometimes they had more expensive options like airmatic that would also been expensive to repair.
That's one nice thing about buying a used car, you can research it before you buy it. I was going to get a 2006 E-350 initially but then read about all the problems and ended up getting a 2008. It's been pretty decent in the last 5 years I've owned it.
It's too bad the article isn't clear on exactly which sunroof they're talking about. The E class came standard with a sunroof in the US, the panorama sunroof was an option.