Say we have a Rectangle base class and a Square derived class:
namespace Shapes { using System.Foo; public class Rectangle { public Rectangle(int l, int w){} } } namespace Shapes { public class Square : Rectangle public Square(int l, int w){} }
Should the Square class explicitly indicate that it uses System.Foo ? I get erratic results. In one project, using directives seem to be inherited, but they are not in a web application.
source share