Hi,

In F#, interface is always implemented explicitly. If a type implements an interface, the methods and properties of the interface are not in the scope of the type by default. We must cast the type to corresponding interface.

There is a word in Python community. "Explicit is better than implicit." :)

Cheers,

Nyi Nyi

By on 4/10/2010 11:27 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper