static void Main(string[] args) { ITry ThisMeaning = (ITry) new Meaning(); // This works ThisMeaning.foo(); ThisMeaning.Dispose(); // The method is available }