Foxtable(狐表)用户栏目专家坐堂 → [字符串数组差集]


  共有2562人关注过本帖树形打印复制链接

主题:[字符串数组差集]

帅哥哟,离线,有人找我吗?
Bin
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:贵宾 帖子:35433 积分:178524 威望:0 精华:3 注册:2013/3/30 16:36:00
  发帖心情 Post By:2015/5/11 10:25:00 [显示全部帖子]

Dim sd() As String = {"8:00","8:15","8:30","8:45"}
Dim sd1() As String = {"8:00","8:15"}
Dim sd1s As new List(of String)
sd1s.AddRange(sd1)
Dim cls As new List(of String)
For Each s As String In sd
    If sd1s.Contains(s)=False Then
       cls.Add(s)
    End If
Next
For Each s As String In cls
output.show(s)
Next


 回到顶部