🌈 搜索
📅  最后修改于: 2022-03-11 14:57:13.710000             🧑  作者: Mango
int[] arr = {3,5,6,7,2,3,11,14 }; int index = Array.IndexOf(arr, 3); Console.WriteLine(index); Console.ReadLine();