R
Rustam Asgarov
I have a structure like this :
public struct index_struct
{
static char [] IP = new char [16] ;
int port;
static char [] FileN = new char [50];
int ID;
int Bnum;
long m_DataSize;
int Version;
}
then i have an array of this struct:
public index_struct [] indecies ;
then in one of the methods of same class in whic previous are defined i
try to do the following:
int id = indecies[j].ID;
but get an error : "'trial_v1.ListenForBroadcast.index_struct.ID' is
inaccessible due to its protection level
"
Can someone explain the situation?
thanks..
public struct index_struct
{
static char [] IP = new char [16] ;
int port;
static char [] FileN = new char [50];
int ID;
int Bnum;
long m_DataSize;
int Version;
}
then i have an array of this struct:
public index_struct [] indecies ;
then in one of the methods of same class in whic previous are defined i
try to do the following:
int id = indecies[j].ID;
but get an error : "'trial_v1.ListenForBroadcast.index_struct.ID' is
inaccessible due to its protection level
"
Can someone explain the situation?
thanks..