24
Nov
Introduction When Microsoft announces a new version of the NET Framework there are release notes. The release notes do not cover all new additions and/or features. This article will introduce several new features with C# samples. Enumerable.Index<T> Enumerable.Index<T> returns an enumerable that incorporates the element's index into a tuple. Before working with Index<T>, there is the conventional route which is declaring a int variable with a value of -1 and increment the variable in a foreach. Note This is what many seasoned developers use and may very well dislike the new Index extension method as they are set in their…