.net - What do you call IEnumerable? -


Sometimes I find out that someone has IEnumerable & lt; Foo & gt; I do not think I get a corresponding name while reading.

IEnumerable & lt; Foo & gt; : This is a type of name

Archive : It is valid but is not used everywhere. Although we have the system. Selection Namespace

Sequence : It is also valid and probably better defines it.

Enumerator or Iterator : They insist on operation, rarely use.

What would be most appropriate? What do you read in your code?

a IEnumerable & lt; Foo & gt; refers to a specific device, such as operation / removal; It does not apply here, but the word is not inappropriate.

Personally I use "sequence" in the discussion, but I do not use it to give things names in the code - I just use it representing this object sequence , i.e. "order", "unique users", etc. - or in the case of general methods, "item", "value", etc.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

c# - Confused over DLL entry points (entry point not found exception) -