I am in the process of unifying these inconsistent naming conventions and this one problem has been a bit driving me crazy lately.
In the code base I am working with has no convention regarding ‘ID’; ‘ID’, ‘Id’ and even ‘iD’ are used inconsistently.
****Question**: In .NET, how do you guys capitalize ‘ID’? For an example, nodeID, nodeId? FolderID or FolderId?
****Edit**: How about plural cases? then should I do ‘NodeIDs’ or ‘NodeIds’?
Thanks
Capitalization is for 2 letters acronyms. UI, IP, etc.
‘Id’ is an abbreviation for Identifier, so it should stay pascal cased.