Search code examples
inheritanceboo

inheritance in boo


if boo language is 100% compatible with c#,how can i have inheritance in 2 boo file like two c# class?


Solution

  • 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