This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Case Sensitivity
- Don’t use names that require case sensitivity. Components must be fully usable from both case-sensitive and case-insensitive languages. Since case-insensitive languages cannot distinguish between two names within the same context that differ only by case, components must avoid this situation.
Examples of what not to do:
- Don’t have two namespaces whose names differ only by case.
namespace ee.cummings;
namespace Ee.Cummings;
- Don’t have a function with two parameters whose names differ only by case.
void foo(string a, string A)
- Don’t have a namespace with two types whose names differ only by case.
System.WinForms.Point p;
System.WinForms.POINT pp;
- Don’t have a type with two properties whose names differ only by case.
int Foo {get, set};
int FOO {get, set}
- Don’t have a type with two methods whose names differ only by case.
void foo();
void Foo();