Click here to Skip to main content
15,901,426 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How will you copy from a multi-dimensional array to list or similar collection...?

What I have tried:

Don't know the answer behind this question...
Updated 11-Jul-20 17:36pm
OriginalGriff 11-Jul-20 5:02am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
Andre Oosthuizen 11-Jul-20 5:32am    
Member 12712527 11-Jul-20 7:34am    
Sir, you said not to return arrays from a I'm thinking this way...because
I need a method in a class will return a static array which is to be consumed by another class..
class a
public static string[,,,] rows;
private string[,,,] DoSomething()
Do some work with row...
return row;

class B
public void Consumer()
private string[,,,] col;
Do some work.....
This will be the program....
Patrice T 11-Jul-20 10:23am    
Use Improve question to update your question.
So that everyone can pay attention to this information.
Member 12712527 11-Jul-20 10:27am    
Sir this is my problem...what shall I do...?

1 solution

You need to get a good book and study the fundamentals of C#. Remember that everyone was once a beginner ! Take a look at books by Jesse Liberty, Chris Sells.

Charles Petzold's .NET Book Zero is free: [^]

This on-line overview by W3Schools is good: [^]

This is a good collection of techniques for copying an array: [^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900