Can anyone help me to fix the code in the Main so that is works as intended?
Gurus will know what I'm after.
TIA :cool:

Please see below:

public abstract class MyBaseElement
{...}
...