find index of an int in a list

前端 未结 0 920
既然无缘
既然无缘 2021-02-11 15:01

Is there a way to get the index of an int from a list? Looking for something like list1.FindIndex(5) where I want to find the position of 5 in the list.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题