If j(i) < 1 Then m = m + j(i - 1) Else m = m + j(i - 1) - 1 Single letter variables are good for iterators, but if integer variables will involve coditions such as the statement above, better use a more descriptive variable or refactor the said line to a method with a descriptive name. I guess if...
I have read the Exception Handling Best Practices article in .NET in CodeProject and all this time I thought that rethrowing exceptions is this way: [code language="C#"] try { // Some code that throws an exception } catch (Exception ex) { // some code that handles the exception throw ex; } [/code] I...