I suspect that the interviewer was trying to elicit the response "use an explicit interface implementation". If you say
class C : IFoo
{
void IFoo.Foo() {}
}
then you can use Foo via the interface, but not via the class:
C c = new C();
c.Foo(); // illegal!
IFoo ifoo = c;
ifoo.Foo(); // legal
If that was what the interviewer was getting at then the interviewer needs to do two things.
First, they should have said "how do I implement an interface without exposing the methods of the interface on the class?"
Second, they shouldn't have asked the question in the first place. A poorly-phrased question where the interviewer is seeking a specific answer does not actually tell you much about the candidate! A better question on that topic would be "How do you decide whether to use explicit or implicit implementation when implementing methods of an interface?" That tells you about how the candidate makes technical decisions.