On Fri, Jul 9, 2010 at 10:43 AM, Marcin Krol <[email protected]> wrote:

>
> Bc when I changed declaration of the method to "protected virtual" in the
> Form1.cs, the inherited class calls my Ipython method all right - that looks
> like overriding to me, at least when looking at it from the outside and not
> looking "under covers" what's happening.


Yes. It's universally true in the CLR that you can't override a function in
a derived class unless the function was marked as virtual in the base class.
IronPython is no different than C# in this regard.

-Curt
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to