unity和C#以及Linq(结合Linq整理的一些高级写法Exists,from in where select等)

1、按照条件查询:from in where select 的用法

 b14a8c7d86d841f4bad54ff9d7613a93.jpg

2、判断某集合中是否有满足条件的对象:

7797ca9e1c23477d8a6a5c5a53a81547.jpg

 3、根据条件查找对象:

f1cd8030a033425fb2c8bb1a8de005ca.jpg

猜你喜欢

转载自blog.csdn.net/qq_39646949/article/details/128024251