Find the first occurrence/starting index of the sub-array in C#
Given two arrays as parameters (x and y) and find the starting index where the first occurrence of y in x. I am wondering what the simplest or the fastest implementation would be.
问答
阅读(2)