Click here to Skip to main content
15,913,854 members
Home / Discussions / C#
   

C#

 
GeneralWritng objects to file Pin
Itanium30-Oct-03 18:34
Itanium30-Oct-03 18:34 
GeneralRe: Writng objects to file Pin
MKlucher30-Oct-03 19:08
MKlucher30-Oct-03 19:08 
GeneralRe: Writing objects to file Pin
Itanium30-Oct-03 19:43
Itanium30-Oct-03 19:43 
GeneralRe: Writng objects to file Pin
Corinna John30-Oct-03 19:50
Corinna John30-Oct-03 19:50 
GeneralRe: Writng objects to file Pin
Itanium30-Oct-03 21:44
Itanium30-Oct-03 21:44 
GeneralCommand Bars Pin
monrobot1330-Oct-03 17:37
monrobot1330-Oct-03 17:37 
GeneralRe: Command Bars Pin
J. Dunlap30-Oct-03 20:59
J. Dunlap30-Oct-03 20:59 
GeneralNaming inconsistencies in the BCL Pin
Jeff Varszegi30-Oct-03 10:37
professionalJeff Varszegi30-Oct-03 10:37 
Is there any chance of Microsoft fixing the problem with inconsistent casing in names of classes, namespaces, enums, what have you? Here's a sampling of things I've noticed lately:

System.Data.DbType
System.Data.DBConcurrencyException
System.Text.Encoding.UTF8
System.Web.Mail.MailMessage.Cc
System.Web.Mail.MailMessage.Bcc

Here's a good place to start reading about Microsoft's preferred casing styles:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconCapitalizationStyles.asp

The guidelines clearly state that two-letter names should be uppercased, but this is inherently flawed because it leads to impossible situations like in the MailMessage class: how to satisfy the naming 'guidelines' but still remain consistent within the class? This two-letter rule is nutso. (I think that the designers of the MailMessage class did a good thing by being consistent within the class, though.)

Does this bother anyone but me? I don't mind adapting to ANY convention, but it makes it a headache when there is no clear convention in actual practice, and you have to integrate with or extend an existing API.

Thank you.

Jeff Varszegi
GeneralRe: Naming inconsistencies in the BCL Pin
Nick Parker30-Oct-03 11:51
protectorNick Parker30-Oct-03 11:51 
GeneralRe: Naming inconsistencies in the BCL Pin
Jeff Varszegi30-Oct-03 12:23
professionalJeff Varszegi30-Oct-03 12:23 
GeneralRe: Naming inconsistencies in the BCL Pin
Nick Parker30-Oct-03 13:26
protectorNick Parker30-Oct-03 13:26 
GeneralRe: Naming inconsistencies in the BCL Pin
Heath Stewart30-Oct-03 12:32
protectorHeath Stewart30-Oct-03 12:32 
GeneralRe: Naming inconsistencies in the BCL Pin
Jeff Varszegi30-Oct-03 12:42
professionalJeff Varszegi30-Oct-03 12:42 
Generalbyte[] cast to a string Pin
Tym!30-Oct-03 8:07
Tym!30-Oct-03 8:07 
GeneralRe: byte[] cast to a string Pin
J. Dunlap30-Oct-03 8:21
J. Dunlap30-Oct-03 8:21 
GeneralRe: byte[] cast to a string Pin
Tym!30-Oct-03 10:34
Tym!30-Oct-03 10:34 
GeneralRe: byte[] cast to a string Pin
Jörgen Sigvardsson30-Oct-03 9:41
Jörgen Sigvardsson30-Oct-03 9:41 
GeneralRe: byte[] cast to a string Pin
Tym!30-Oct-03 10:48
Tym!30-Oct-03 10:48 
GeneralRe: byte[] cast to a string Pin
Jörgen Sigvardsson30-Oct-03 11:20
Jörgen Sigvardsson30-Oct-03 11:20 
GeneralRe: byte[] cast to a string Pin
Tym!30-Oct-03 12:28
Tym!30-Oct-03 12:28 
GeneralRe: byte[] cast to a string Pin
Jörgen Sigvardsson30-Oct-03 12:32
Jörgen Sigvardsson30-Oct-03 12:32 
GeneralRe: byte[] cast to a string Pin
Tym!30-Oct-03 12:41
Tym!30-Oct-03 12:41 
GeneralRe: byte[] cast to a string Pin
Jörgen Sigvardsson30-Oct-03 12:45
Jörgen Sigvardsson30-Oct-03 12:45 
GeneralRe: byte[] cast to a string Pin
Blake Coverett30-Oct-03 11:35
Blake Coverett30-Oct-03 11:35 
GeneralRe: byte[] cast to a string Pin
Tym!30-Oct-03 12:33
Tym!30-Oct-03 12:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.