S
sh
Hi All..
i am Writing a C# code ..but i had face a small problem ,
i hope that you can solve it Please.
I had creat the following class
class Q
{
int A;
Int B
}
then in the main i creat an array of the above class
Q[] Array_Q = new Q[55]();
then i tried to fill the elemnets with a values
int i,j;
for (i=0 ; i<=10 ; i++)
{
for (j=i;j<=10;j++)
Array_Q.A = i; //<== here is the error
Array_Q.B = j;
}
if I run the program it give me an Exchption handelling
Error ..!!
so what is the Problem do you think..
thank you All
i am Writing a C# code ..but i had face a small problem ,
i hope that you can solve it Please.
I had creat the following class
class Q
{
int A;
Int B
}
then in the main i creat an array of the above class
Q[] Array_Q = new Q[55]();
then i tried to fill the elemnets with a values
int i,j;
for (i=0 ; i<=10 ; i++)
{
for (j=i;j<=10;j++)
Array_Q.A = i; //<== here is the error
Array_Q.B = j;
}
if I run the program it give me an Exchption handelling
Error ..!!
so what is the Problem do you think..
thank you All