There are a couple of ways to tackle this problem. None of them are perfect, but you can find a workable solution. The key is that your team needs to come up with a standard approach to resolving this and to stick with it.
Here are some of the options:
The singularly named variable will start with one case (lower case) while the plural variable will start with the other case (upper case).
var Fish = new List<fish>(); //plural
var fish = Fish[0]; //singular
- Deliberate use of improper grammar
Example:
var Fishes = new List<fish>(); //plural
var fish = Fishes[0]; //singular
or
var Meese = new List<Moose>(); //plural
var Moose = Meese[0]; //singular
Example:
var SchoolOfFish = new List<Fish>(); //plural
var Fish = SchoolOfFish[0]; //singular
carList
/carArray