It was as a defendant that Chips_100 wrote in his answer (currently deleted by the owner):
If you want the length to be an instance variable, but still supply it to the base constructor, I would suggest something like this:
private const int DefaultLength = 10000; private int length = DefaultLength; public Filtering() : base(DefaultLength) { }
I did not see any indication that the author of the original of this answer is inclined to restore his own post. At the same time, although I would write basically the same thing, I would prefer not to take credit for an existing answer created by someone else. So I converted this to a response to the community wiki.
source share