0
people are creating a program to consult suppliers(being N suppliers), and I need that by clicking the button can see all registered suppliers and their information as this below :
nomefornecedor1 telefone1 valordoproduto1 nomefornecedor2 telefone2 valordoproduto2
. . .
. . .
. . .
as I declared the vectors
public partial class Form1 : Form
{
string[] Nome = new string[n];
string[] Telefone = new string[n];
float[] ValorCompra = new float [n];`
and how I’m trying to show by clicking the button
private void buttonfornecedores_Click(object sender, EventArgs e)
{
int linha;
{
MessageBox.Show(Nome[0],Telefone[0],valorcompra[0]);
}
}
I don’t know much about c# ,then any help thank you