Exceptions C# with Example



Exceptions C# with Example

Add 'exception' as a suffix 
Custom exception names should be suffixed with "-Exception". 
Below are correctly named exceptions: 
 

public class MyCustomException : Exception 
public class FooException : Exception 

0 Comment's

Comment Form

Submit Comment