how can i use class array in c#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • balurajeev
    New Member
    • Oct 2007
    • 7

    how can i use class array in c#

    i'm balu working as trainee in firm .now im in big trouble while usin g class array.
    i dont know how to read values uding class as array?
    please
    help me
  • aliasruel
    New Member
    • Sep 2007
    • 73

    #2
    Hi,
    you may try this sample code...


    int[] intArray = new int[3];
    intArray[0] = 3;
    intArray[1] = 6;
    intArray[2] = 9;
    foreach (int i in intArray)
    {
    Response.Write( i.ToString());
    }

    regards!
    =============

    Originally posted by balurajeev
    i'm balu working as trainee in firm .now im in big trouble while usin g class array.
    i dont know how to read values uding class as array?
    please
    help me

    Comment

    Working...