I am used to
for(int i = ...)
for(int j = ...)
for(int k = ...)
If more than 2 nested indexes, then I give some of them proper names (item
, obj
, parent
, window
, etc.).
Then I am used to events with e
as event argument and exceptions:
try { ... } catch (Exception... e)
If exception is inside event, then I use ee
variable.
But what about linq? I see some peoples use
blablabla.Any(i => i.Value == SomeValue);
or
bla.Where(u => u.Something == Something);
Is there any standards of naming variables inside predicates or only opinions? Or is it just me? =D