using System; public interface IFruit { void Eat(); } public class Apple : IFruit { /* public */ void IFruit.Eat() // this method is shown as 'private' in File Structure window (small lock on icon) { throw new NotImplementedException(); } } public class Boy { public void EatApple() { IFruit fruit = new Apple(); fruit.Eat(); } }