C# Best practice (LINQ) for check a string in a List/Array of strings

前端 未结 0 626
悲&欢浪女
悲&欢浪女 2021-02-18 16:46

Im trying to check if a string in on a list/array of string

i know the simplest way is :

string[] animals = {"cat", "Dog", "Lizard         


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