I have this code in Java, that I used to report exceptions (throws FileNotFoundException, IOException, ClassNotFoundException).
Example:
private void functionName() throws FileNotFoundException, IOException, ClassNotFoundException{} I need to do this in C#, how can I do that?
/// <exception cref="FileNotFoundException">...</exception>tag, described here. This is just documentation, though, and not checked exceptions.