So I would like to create a class that can have an object which type is itself. Something like this:
class foo {
foo Avalue = foo();
foo Bvalue = fo
The problem with that is that the foo
inside foo
would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain a foo
which would contain...