zoukankan      html  css  js  c++  java
  • 循环删除集合里的值

       1:   List<string>.Enumerator enumerator = files.GetEnumerator();
       2:   while (enumerator.MoveNext())
       3:   {
       4:       if (File.Exists(enumerator.Current))
       5:       {
       6:           File.Delete(enumerator.Current);
       7:       }
       8:   }
  • 相关阅读:
    解决iex -S mix报错
    OTP服务器
    多进程
    字符串与二进制
    IphoneX适配正确姿势
    Babel 配置用法解析
    babel版本变化
    你好,babel
    XSS攻击 && CSRF攻击 基础理解
    小程序开发初体验~
  • 原文地址:https://www.cnblogs.com/jackping/p/3919536.html
Copyright © 2011-2022 走看看