if boo language is 100% compatible with c#,how can i have inheritance in 2 boo fil开发者_StackOverflowe like two c# class?
Boo is a CLR language just like C#. Assuming that references are properly resolved, inheritance is as simple as:
class A(B): // class A inherits from B
For more information, see http://docs.codehaus.org/display/BOO/Part+08+-+Classes
精彩评论