在我的xamarin ios项目中,我从一个文件中获取了一些数组
使用
NSArray TimeFilePath = NSBundle.MainBundle.PathForResource("Time","txt");
arrTime = NSArray.FromFile(TimeFilePath);
现在我必须将TimeFilePath转换成一个列表
我尝试了下面的方法,但是失败了
List<string>items = (List<string>)TimeFilePath;
帮我解决如何在C#中将NSArray转换为列表
https://stackoverflow.com/questions/31679955
复制相似问题