Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
How to get the start indices of specific (string) elements of an IEnumerable object?
If one have an IEnumerable like: var my source = "Alpha Beta RTM Beta". Split(); how to get the indices of the term 'beta'?
1 Antwort
0
With LINQ to objects one way could look like this: http://www.sololearn.com/app/csharp/playground/cT77E2Wi713k/