This project is read-only.
1
Vote

AV2201 C# keyword over type name

description

While I don't agree with the exception you provided (do use the type name for static method calls) for its inconsistency, I have another addition for this one:

Do use the type name as part of method names like for example ReadInt32() or GetUInt16() as in BinaryReader-like classes. These methods may be called from other CLS languages that don't know about C# type keywords. It's obvious to use a name like ReadString instead of Readstring (notice the case difference).

comments

dennisdoomen wrote Jun 25, 2015 at 7:35 PM

We've moved. Please post any issues at https://github.com/dennisdoomen/csharpguidelines