How to call the SomeWork () method correctly so that a compilation error does not occur?
using System; namespace ConsoleApplication1 { interface IA { void SomeWork(); } class B : IA { void IA.SomeWork() { Console.WriteLine("Some work in B"); } } class Program { static void Main(string[] args) { B a = new B(); a.SomeWork(); } } }