Unhandled exception: System.StackOverflowException [duplicate]

0

My Winforms C # project has a routine that returns approximately 6000 items. Every time you run the routine it is displayed in Connection.Open() of DataSet to StackOverflowException . I've never seen this mistake. What can cause it?

    
asked by anonymous 18.10.2018 / 16:02

1 answer

0

System.StackOverflowException

A StackOverflowException exception is thrown when the execution stack exceeds having many nested method calls.

Associated Tips : Make sure you do not have an infinite loop or infinite recursion. Many method calls are usually indicative of deep or unrestricted recursion.

Source: msdn

    
18.10.2018 / 16:08