How can I make a method thad create matrix?

  • Thread starter Thread starter Tonyukuk
  • Start date Start date
T

Tonyukuk

can you help me? I know that that function create an array has 2
colums but then what should I do?
 
Tony,

It sounds like what you want is a two-dimensional array. You can do
something like this:

// Declare a 5 column, 2 row array.
int[,] pintArray = new int[5, 2];

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Tonyukuk said:
can you help me? I know that that function create an array has 2
colums but then what should I do?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top