Reputation: 33098
With standard naming conventions is there ever a scenario that it is correct to use ID or OK in all capitals?
Upvotes: 6
Views: 313
Reputation: 136637
No. According to the .NET Framework design guidelines, the correct capitalization is Id
and Ok
as these are abbreviations, not acronyms.
However, if you already have shipping DLLs which already use ID
or OK
then you should not change them as it will break consumers. Hence why the .NET Framework has some instances of these capitalizations, for example.
Upvotes: 16