Return partial result (list of data) while using yield return and exception throw
I have the following code which yields objects (exception is rethrown because I need to handle it also in the caller method).
I have the following code which yields objects (exception is rethrown because I need to handle it also in the caller method).