Free cookie consent management tool by TermsFeed Policy Generator

Changes between Version 3 and Version 4 of Documentation/DevelopmentCenter/BestPractices


Ignore:
Timestamp:
12/07/14 18:27:40 (10 years ago)
Author:
abeham
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/DevelopmentCenter/BestPractices

    v3 v4  
    22 * use Environment.!NewLine instead of the string constant "\n"
    33 * use Path.Combine() instead of string concatenation (with \ or /) to combine directory and file names
     4 * use String.Join() instead of concatenating your strings manually
    45 * throw and catch specific exceptions, don't catch generic exceptions try { ... } catch(Exception ex) {}
    56 * use a finally block to make sure that the state of the program is consistent even when Exceptions are thrown