I am trying to stick to general naming conventions such as those described in Design Guidelines for Developing Class Libraries. I put every type into its own source file (an
I have seen some libraries using
Bag.cs
Bag`1.cs
Bag`2.cs
as this is what the Type.Name
would display.
I want to be more descriptive with the type parameters so I lately tend to use
Bag.cs
Bag{T}.cs
Bag{TKey, TValue}.cs
This is a format that is also supported by the XML comments.
///
/// ...
/// Uses the class.
///