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 8740485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:08:19+00:00 2026-06-13T11:08:19+00:00

What i mean is that the List will be in the end with an

  • 0

What i mean is that the List will be in the end with an offline websites addresses but as a tree.
For example the program will create automatic List of websites addresses for example the first one will be:

http://www.aaa.com

The next website will be:

http://www.bbb.com

The idea is that the program will create automatic websites addresses and that each next web sites will be the next level of the web sites above in hte List.

If the user type : http://www.aaa.com
The next site will be http://www.bbb.com
So aaa.com is level 0 and bbb.com is level 1
http://www.ccc.com will be level 2

And after that i want to add another randon that each level will be random number of sites.
For example :

Level 0 http://www.aaa.com
Level 1 http://www.bbb.com http://www.bb1.com http://www.bb2.com
Level 2 http://www.ccc.con http://www.cc1.com

The link in level 0 is the one the user entered so it will be allways one link in level 0.
The other levels can have more then one site each time.

So the List in the end will be in index [0] http://www.aaa.com

index [1] will have more 3 indexs each one a site address.
index [2] will have more 2 indexs with two sites.

What i want to do in general is to be able to use this sites addresses offline.
So maybe not random maybe the user just a click a button and it will create all the time the same List the user will be able to set only how many levels to create. And the only random thing will be how many sites will be in each level.


This is for a web crawling program i have and i want to use it even of there is no internet connection for some reason so i can still working on the program and check things.
Now today if there is no internet connection i cant test the program.

Thats why i wanted to create somehow automatic List of websites when im in off line mode.

Hopw can i do it ?

  • 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-06-13T11:08:20+00:00Added an answer on June 13, 2026 at 11:08 am

    So it sounds like you want a jagged array. This is easy. You can create a List<List<string>> for example:

    List<List<string>> myList = new List<List<string>>();
    myList.Add(new List<string>());
    myList[0].Add("http://www.aaa.com");
    myList.Add(new List<string>());
    myList[1].Add("http://www.bbb.com");
    myList[1].Add("http://www.bb1.com");
    // and so on...
    
    Console.WriteLine(myList[0][0]);   // displays http://www.aaa.com
    Console.WriteLine(myList[1][0]);   // displays http://www.bbb.com
    Console.WriteLine(myList[1][1]);   // displays http://www.bb1.com
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

By closed connection I mean that the other end closed it gracefully. I would
I have some List that contain int value between 0 to 10 for example
By alignment I mean that the predicate takes in two lists, well three with
I only have experience with log4net however that does not mean that there are
xmpp is federated. does that mean that as long as i connected to one
In Haskell, lifted type products mean that there's a semantic difference between (a,b,c) and
I got the following array (shortened ... multiple dot mean that they are data
I am not sure about how NSSet's anyObject work. What does it mean that
Google App Engine doesn't support SSL for custom domains. Does this mean that it's
I want to make my Actions in Controllers more flexible. I mean that common

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.