With standard naming conventions is there ever a scenario that it is correct to use ID or OK in all capitals?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. According to the .NET Framework design guidelines, the correct capitalization is
IdandOkas these are abbreviations, not acronyms.However, if you already have shipping DLLs which already use
IDorOKthen you should not change them as it will break consumers. Hence why the .NET Framework has some instances of these capitalizations, for example.