On Thursday 20 November 2008 22:53:46 Jerry Houston wrote:
> On Wednesday 19 November 2008 21:05:16 Jonathan Pobst wrote:
> > I don't understand F#, ...
>
> Don't feel bad. I've got a book on F#, and I don't understand it, either.
Hope it wasn't my book then. ;-)
The F# code here:
type A() =
inherit TextBox()
just defines a new class "A" that inherits from TextBox and implicitly
provides a zero-argument constructor that calls TextBox's.
The equivalent C# is something like:
public class A : TextBox
{
public new A()
{
}
}
--
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list