How do I do a get/post for an array in c#?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xarzu
    New Member
    • Apr 2007
    • 91

    #1

    How do I do a get/post for an array in c#?

    How do I do a get/post for an array in c#?

    In C#, you get and set variables like this:

    Code:
    public int ID { get; set; }
    How would one get and set an array in C#?

    This will not work:

    Code:
    public uint [5] BIG_Hash {get; set;}
  • madankarmukta
    Contributor
    • Apr 2008
    • 308

    #2
    I guess System.Collecti ons to return a collection of elements.

    Hope this may help.

    Thank you.

    Comment

    Working...