简体   繁体   中英

Converter And ConvertAll alternative for UWP C#

I am creating an app in UWP and actually noticed that the System.Converter and Array.ConvertAll functions doesn't exist in there... Why ? :/

Is there any way I could get them ?

As you said, in UWP there is no System.Converter and Array.ConvertAll. You can however use the LINQ method Select to do the same work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM