Wolfgang, just for fun, I tested in X# and C# console app.
NET Framework 4.8 (x64 and x86), crashed at 15082
I tested the console in Net Core 7.0 and 8.0 Preview and it crashed at
23895. This result indicates that NET Core is really very efficient.
So, even the limit is much higher in .NET, no one should be doing this.
Gorazd, I suggest that you avoid recursive functions and instead use a
FOR Loop and handle your requirement in a separate function. VO just
cannot handle deep recursions!
Jamal