Advertisement
touhid_xml

Single-dimensional array

Apr 3rd, 2013
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. <%@Page Language="C#" %>
  2. <script runat="server">
  3. int[] n1 = new int[4] {2, 4, 6, 8};
  4.    
  5. </script>
  6.  
  7. <% Response.Write(n1[0] + "<br /> \n"); %>
  8. <% Response.Write(n1[1] + "<br /> \n"); %>
  9. <% Response.Write(n1[2] + "<br /> \n"); %>
  10. <% Response.Write(n1[3] + "<br /> \n"); %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement