Coding standards - Afr0Games/Project-Dollhouse GitHub Wiki

All standards on this page should be followed by all developers!

String comparison

When doing string comparison, use string.equals always. The only exception is when working with Linq, because Linq doesn't support it. For the StringComparison argument, please use InvariantCultureIgnoreCase. This ensures that string comparison will be completely agnostic (case and otherwise), meaning fewer bugs will crop up.

GUIDs

When creating a new Guid, ALWAYS use Guid.NewGuid()!