Timeline for Enumerating text (ranges) vertically and horizontally
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 7, 2016 at 23:05 | comment | added | 404 | BTW it's "indices" ;) | |
Aug 7, 2016 at 19:05 | comment | added | Dmitry Nogin |
Just in case - ElementAt and ElementAtDefault are smart enough to check actual data type interfaces and consume IList<T>[index] if implemented.
|
|
Aug 7, 2016 at 18:55 | comment | added | t3chb0t |
I'll change the ElementAtOrDefault into return indecies.Select(index => new Row(Lines[index], index, indecies)); because it will definitely exist and if not, this means I made a mistake somewhere else and this will allow me to spot the bug soon enough.
|
|
Aug 7, 2016 at 18:45 | vote | accept | t3chb0t | ||
Aug 7, 2016 at 18:38 | comment | added | t3chb0t | Damn! This is agian a nice aproach ;-D | |
Aug 7, 2016 at 17:41 | history | answered | Dmitry Nogin | CC BY-SA 3.0 |