⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ilisticollection_simple.aspx

📁 This is a book about vb.you could learn this from this book
💻 ASPX
字号:
<%@Page Language="VB"%>

<h3>Simple</h3>
<%

Dim authors As string()  
authors = New string() { "Richard","Alex", _
                         "Dave","Rob","Brian","Karli"}

Dim index As Integer
index = Array.IndexOf(authors,"Richard")
If index <> -1  Then
  Response.Write("<P>" & authors(index) & " is in the author list")
End If


Dim list As IList

list = CType(authors, IList)
If list.Contains("Richard") Then
  index = list.IndexOf( "Richard")
    Response.Write("<P>" & list(index) & " is in the author list")
End If



%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -