arraylistargumentoutofrangeexception_simple.aspx

来自「Professional ASP.NET source code」· ASPX 代码 · 共 19 行

ASPX
19
字号
<%@Page Language="C#" debug="true" %>

<h3>ArrayList</h3>
<%
IList movieList;

movieList = new ArrayList();
movieList.Add("Pulp Fiction");
movieList.Add("Aliens");
movieList.Add("The Good, the Bad and the Ugly");


string s;

s = (string) movieList[10];

%>

⌨️ 快捷键说明

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