Wednesday, February 21, 2007

C# Annoyances, part 1

  • Namespaces don't restrict where source file resides in folder structure on filesystem: Source files can live anywhere and have any namespace. Nothing in the language restricts where source files reside based on namespace. Refactoring becomes a real headache, with lots of manual changes to maintain some semblance of organization.

  • Interfaces cannot have constants: No way to static import constants into source files.

powered by performancing firefox

1 comment:

  1. Interfaces are used for defining behavior not constants.