Intellisense dont work

  • Thread starter Thread starter Abbiento Morgan
  • Start date Start date
A

Abbiento Morgan

I try to expalin my problem
Ive created this classes

class DataType
{
...
public int Count;
...
}

class DataCollection
{
ArrayList array = new ArrayList();

DataCollection()
{
// Loading of array with DataType objects
}

public DataType this[int index]
{
get
{
return (DataType)array[index];
}
}
}

But when in write in this code

InsiemeDiDati idd = new InsiemeDiDati();

idd[0].

when i write "." (dot char) i cant see Intellisense list with class schema
of class DataType.

Someone know why ?

Thx for help.
 
I try to expalin my problem
Ive created this classes

class DataType
{
...
public int Count;
...
}

class DataCollection
{
ArrayList array = new ArrayList();

DataCollection()
{
// Loading of array with DataType objects
}

public DataType this[int index]
{
get
{
return (DataType)array[index];
}
}
}

But when in write in this code

DataCollection idd = new DataCollection();

idd[0].

when i write "." (dot char) i cant see Intellisense list with class schema
of class DataType.

Someone know why ?

Thx for help.
 
Where is the class InsiemiDiDati defined? You instantiate this class, but
you haven't shown where you've defined it.
 
In another file but inside the same namespace.

Marina said:
Where is the class InsiemiDiDati defined? You instantiate this class, but
you haven't shown where you've defined it.

Abbiento Morgan said:
I try to expalin my problem
Ive created this classes

class DataType
{
...
public int Count;
...
}

class DataCollection
{
ArrayList array = new ArrayList();

DataCollection()
{
// Loading of array with DataType objects
}

public DataType this[int index]
{
get
{
return (DataType)array[index];
}
}
}

But when in write in this code

InsiemeDiDati idd = new InsiemeDiDati();

idd[0].

when i write "." (dot char) i cant see Intellisense list with class schema
of class DataType.

Someone know why ?

Thx for help.
 
Excuse me you must read my 2 post because i used wrong name for class in my
firtst...

Marina said:
Where is the class InsiemiDiDati defined? You instantiate this class, but
you haven't shown where you've defined it.

Abbiento Morgan said:
I try to expalin my problem
Ive created this classes

class DataType
{
...
public int Count;
...
}

class DataCollection
{
ArrayList array = new ArrayList();

DataCollection()
{
// Loading of array with DataType objects
}

public DataType this[int index]
{
get
{
return (DataType)array[index];
}
}
}

But when in write in this code

InsiemeDiDati idd = new InsiemeDiDati();

idd[0].

when i write "." (dot char) i cant see Intellisense list with class schema
of class DataType.

Someone know why ?

Thx for help.
 
Back
Top