下面這段代碼中public object Convert( object[] values , Type targetType , object parameter , System.Globalization.CultureInfo culture ){if ( !values.Cast<string>().Any( text => string.IsNullOrEmpty( text ) ) ){}}“if ( !values.Cast<string>().Any( text => string.IsNullOrEmpty( text ) ) )”這一句是什么意思?好心人給解讀一下
請教一下,關于關于Cast<>的用法?麻煩幫忙看看!
GCT1015
2021-06-23 18:11:22