Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6054801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:11:38+00:00 2026-05-23T08:11:38+00:00

Well basicly had some trouble with placing my teams like so: http://pastebin.com/ahgP04bU So I

  • 0

Well basicly had some trouble with placing my teams like so: http://pastebin.com/ahgP04bU

So I asked someone for advice and he just gave me a tip. And he said it has something to do with arrays. Follwing that he sended me a this code…

  string[,] clubs = new string[20,30];

  clubs[0,1] = “spain”;

  clubs[0,2] = etc;

What I don’t understand is those comma’s. And what does that [20,30] indicate?
And how does this help me place my teams in the way I want it (look on the pastebin link).

Or if you think you have a better link for me to help me out with arrays in datasets I would appreciate it.

best regards,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:11:38+00:00Added an answer on May 23, 2026 at 8:11 am

    new string[20,30] creates a new multi-dimensional array. Where 20 indicates the array-width and 30 the array-height. Think of it like this:

    If you create an array with the width 5 and height 5, you are basically creating 5*5 “slots” for strings that you can set. You can access a specific slot by its coordinates.

    This code:

    string[,] clubs = new string[5,5];
    clubs[0, 1] = "a";
    clubs[1, 4] = "b";
    clubs[3, 2] = "c";
    

    Creates an array like this:

        0   1   2   3   4
    0   ""  ""  ""  ""  ""
    1   "a" ""  ""  ""  ""
    2   ""  ""  ""  "c" ""
    3   ""  ""  ""  ""  ""
    4   ""  "b" ""  ""  ""
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

well i have this messages table with sample values like these: msg_id recipient_id read
Well, I completely get the most basic datatypes of C, like short, int, long,
Well, the subject says everything. I'm using json_encode to convert some UTF8 data to
I am aware of COLUMNS_UPDATED , well I need some quick shortcut (if anyone
Well basicly I have a textview and when the application is created it sets
Well, I have GridView with editable field like 'TemplateField' with DropDownList. My code: <Columns>
I'm using this lightbox gallery http://www.no-margin-for-errors.com/projects/prettyGallery/ since it gaves me the chance of inputting
Well, i need to check if some fields are empty when submiting get an
I am trying to create a screen with some dynamic controls, well radio buttons
Well i take from my database table something like: $datetime=2012-01-12 00:00:00 i want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.