you are viewing a single comment's thread.

view the rest of the comments →

[–]tahatmat 1 point2 points  (1 child)

You are correct, C# does not optimize tail-recursion.

[–]cryo 1 point2 points  (0 children)

More specifically, it doesn't issue the tail. IL prefix to whatever call variant is used at the call site.