Intersperses the specified value between the elements of the source collection.
public static IEnumerable<T> Intersperse<T>(this IEnumerable<T> source, T value)
| parameter | description |
|---|---|
| T | The element type of the source sequence. |
| source | The source sequence. |
| value | The value to intersperse. |
A sequence of elements from the source collection, with value interspersed.