static void Main(string[] args) { RealDuck rd = new RealDuck(); IShoutable shou = rd; shou.Shut(); rd.Swim(); }