<%@ Page Language="C#" %>
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
System.Collections.ArrayList al = new System.Collections.ArrayList(5);
al.Add("one");
al.Add(2);
al.Add(false);
al.Add(new System.Object());
Response.Write("Successfully added " + al.Count + " different types of objects to an ArrayList.");
}
</script>
|