In my experience this is a common question (not limited to just C# and C++) asked during phone screens and on pre-interview questionnaires.
So how do you do it?
I'm usually reluctant to say anything over 5-6 since I can name entire language areas/libraries etc I'm not familiar with. But this low rating can cause recruiters to skip you over for someone who inflates their rating to 8/10.
What is your strategy? Is inflation better in general? Does it depend on the person asking? (non-technical vs technical recruiter etc)