Junior programmers commonly make the mistake of calling ToString on almost everything. Once they learn about how the type system works they grow out of this.

Unfortunately you may have to work on code like this. I couldn't write a rule that would flag everything so I caught just the case of calling ToString on somethign that is already a string.

Last edited Sep 14, 2007 at 8:40 PM by JeffLeBert, version 1

Comments

No comments yet.