摘要:
1、resharper提示当参数为List时,可以改为IEnumerable<T>,因为:If you have a method whose parameter is an array, a List or some other type that implements IEnumerable<T>, ReSharper will offer you an option to change the parameter type accordingly – provided, of course, that the method itself only iterates 阅读全文