ArrayList.Item

  • Thread starter Thread starter Fernando Chilvarguer
  • Start date Start date
Fernando,
C# is only allowed to use the "Item" property via the indexer syntax.

Unlike VB.NET which is able to use either "Item" or indexer syntax.

Use something like:
ArrayList list;

Object o = list[0];
list[0] = o;

Hope this helps
Jay
 

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

Similar Threads

Hashtable.Item 2
Listing of classes (similar to Java API) 4
own executalbe path 7
enum types 4
using System.Windows.Forms in error?? 5
String as Datetime 5
Datagrid DateTimepicker column style 1
Trim not working 3

Back
Top