accessing a full row or column in a 2d array in C#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aligh06
    New Member
    • Mar 2007
    • 1

    accessing a full row or column in a 2d array in C#

    hi every body

    i am new to C#

    can you help me access a full row or column in a 2d array in C#

    thanks
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    Originally posted by aligh06
    hi every body

    i am new to C#

    can you help me access a full row or column in a 2d array in C#

    thanks

    Can you please be more specific about the question that you are asking? What are you doing what would you like to do? What is the problem?

    Comment

    • SammyB
      Recognized Expert Contributor
      • Mar 2007
      • 807

      #3
      Originally posted by aligh06
      hi every body

      i am new to C#

      can you help me access a full row or column in a 2d array in C#

      thanks
      See http://www.c-sharpcorner.com/UploadF...ithArrays.aspx especially at the bottom. In other words, Copy will probably work, but a simple for loop will be much clearer in the code. --Sam

      Comment

      Working...