I was told that every method has a stack the size of 1mb. So I assumed that initializing 256 integer values in one method will cause a StackOverflowException. I tried that in code, but no exception was thrown.
So, how to deliberately trigger a StackOverflowException without using recursion?
256 * 4bytes of memory in a single method... On the other hand, it would probably help keep methods small! :-)