LINQ

Select with index

customers.Select((v, i) => new { Index = i / (customers.Length / 2), Item= v }).GroupBy(g => g.Index);
Last updated: 10/27/2023 11:02:58 AM

On this page

Latest Updates

© 0 - 2025 - Mike Brind.
All rights reserved.
Contact me at Mike dot Brind at Outlook.com