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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:55:40+00:00 2026-06-07T01:55:40+00:00

I am attempting to resize a 3D array in C#. The VB6 code reads:

  • 0

I am attempting to resize a 3D array in C#.

The VB6 code reads:

ReDim Combos(ProductNum, 4, 3)

Since I cannot use Array.Resize for a 3D array, is there another way for me to do this function in C#?

I have already declared the array as a 3D array:

int[ , , ] Combos;

But I am having trouble resizing it. Any ideas?

  • 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-07T01:55:42+00:00Added an answer on June 7, 2026 at 1:55 am

    There is no way to directly redimension a multidimensional array in .NET. I would recommend allocating a new array, and then copying the values into it using Array.Copy.

    That being said, depending on what you’re doing, you may want to consider using a different collection type, as well. There are more options in .NET than VB6 in terms of collections, so many cases which used multidimensional arrays are better suited towards other collection types, especially if they are going to be resized.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to use CSS3's resize to make an absolutely positioned div resizable in
I'm attempting to resize pngs with transparent backgrounds in PHP and the code samples
Attempting to use the data series from this example no longer passes the JSONLint
Attempting to use XStream's JavaBeanConverter and running into an issue. Most likely I'm missng
I have an image loader that I am attempting to resize dynamically. I would
I am attempting to use a UIWebView to display some variable-size content, and I'd
I am attempting to resize an image before storing it as a BLOB in
Attempting to follow the directions as specified on http://code.google.com/p/gears/wiki/BuildingGearsForWindows my attempts are failing at
I am attempting to use spring.net 's IoC conatiner in a class library which
Im attempting to resize an image from 480x800 to 320x240. Below are the results.

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.