you know that?
how to break execution of foreach when exception is handled: break;
public List<DocumentType> ReadAll() I need to return List or null. But if i return null after MessageBox, i've got an exception in foreach (var type in documentType.ReadAll()) because there is nullable
a for loop is automatically broke when an expection is threw
Обсуждают сегодня