Legend
| Extension method: T[] |
| T | This type parameter is not documented. |
| this T[] | array | The array from which to create a new array with one element replaced. |
| int | index | The index at which to replace one element. |
| T | element | The new element to replace the old element with. |