When using variables of which their plural and singular are both the same, how do you name them? Are there any standards out there?
For example:
Series[] series // Plural
Series series // Singular
Indepth:
To be specific, my collection of series needs to be called series (due to JSON formatting), would you consider naming the singular form of Series that gets added to the collection Series s?
As in:
List<Series> series = new List<Series>();
Series s;
while (someBool)
{
s = new Series();
s.Name = "Name";
while (anotherBool)
{
s.AddValue(someValue);
}
series.Add(s);
}