📄 ilisticollection_simple.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 + -