arrays are simple ???

C

cmrchs

Hi,

I try :

short ^arrShort = gcnew short [MAX];

arrShort[0] = 1; --> COMPILER ERROR

error C3915: 'System::Int16' has no default indexed property
(class indexer)

WHY ?
how can I put a value at the first position ?

thanks
Chris

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 

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

Top