In a standard foreach loop, is there a generally accepted naming convention for the iterator variable?
Typically, I use currXXX where XXX is basically the name of what I'm iterating through. I haven't seen others follow this convention, it's just something I've been doing as long as I can remember. I do see value in having a name similar to what I'm iterating.
Any opinions? Any "official" recommendations?
foreach(var currName in names)
{
//do stuff
}