¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
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 Respuesta
0
With LINQ to objects one way could look like this: http://www.sololearn.com/app/csharp/playground/cT77E2Wi713k/