find index of an int in a list

前端 未结 0 1595
遇见更好的自我
遇见更好的自我 2021-02-11 15:02

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.

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