I try to be grammatically correct in my naming*. I\'ve always used filename instead of fileName. The java convention also seems to use this, but
filename
fileName
Isn't the obvious answer that FxCop is an automated tool? It recognizes that "name" is a word, so it suggests starting it with a capital N. We happen to know that "filename" is also a word, and so only the first F should be capitalized.