Click here to Skip to main content
16,006,709 members
Home / Discussions / C#
   

C#

 
AnswerRe: ReDim Pin
Amar Chaudhary16-Oct-06 9:19
Amar Chaudhary16-Oct-06 9:19 
QuestionAnimation control problem Pin
Parshant Verma15-Oct-06 19:30
Parshant Verma15-Oct-06 19:30 
QuestionArray Indexing Pin
Expert Coming15-Oct-06 18:43
Expert Coming15-Oct-06 18:43 
AnswerRe: Array Indexing Pin
AB777115-Oct-06 19:17
AB777115-Oct-06 19:17 
GeneralRe: Array Indexing Pin
Expert Coming15-Oct-06 19:18
Expert Coming15-Oct-06 19:18 
GeneralRe: Array Indexing Pin
AB777115-Oct-06 19:22
AB777115-Oct-06 19:22 
GeneralRe: Array Indexing Pin
Expert Coming15-Oct-06 19:25
Expert Coming15-Oct-06 19:25 
AnswerRe: Array Indexing Pin
Captain See Sharp15-Oct-06 19:31
Captain See Sharp15-Oct-06 19:31 
It looks like you are trying to access an array but you are using a type called System.Array. When you declare an array like so

byte[] arrayOfBytes = new byte[1000];

arrayOfBytes will implicitly inherit the type System.Array. arrayOfBytes is not of type System.Array, it is of type byte[]. It seems like you are attempting to access a type of type System.Array but for you to access it with indexing it would have to be an array of System.Array.

System.Array[] arrays = new System.Array[10000];

If you are going to use the System.Array type use the method GetValue

myArray.GetValue(index);

I recommend you use the conventional array syntax as it is much faster and good coding.

string myArray = new sring[100];


█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██

QuestionRead data from Web in HTML file Pin
leanhsang15-Oct-06 17:30
leanhsang15-Oct-06 17:30 
AnswerRe: Read data from Web in HTML file Pin
ejuanpp16-Oct-06 4:04
ejuanpp16-Oct-06 4:04 
QuestionMouse Gesture Recognition and Neural Networks Pin
tmp015-Oct-06 16:49
tmp015-Oct-06 16:49 
QuestionHow-To: Customize Desktop Pin
Super Lloyd15-Oct-06 12:54
Super Lloyd15-Oct-06 12:54 
AnswerRe: How-To: Customize Desktop Pin
Nader Elshehabi15-Oct-06 13:53
Nader Elshehabi15-Oct-06 13:53 
GeneralRe: How-To: Customize Desktop Pin
Super Lloyd15-Oct-06 15:14
Super Lloyd15-Oct-06 15:14 
AnswerRe: How-To: Customize Desktop Pin
Amar Chaudhary15-Oct-06 14:58
Amar Chaudhary15-Oct-06 14:58 
GeneralRe: How-To: Customize Desktop Pin
Super Lloyd15-Oct-06 15:14
Super Lloyd15-Oct-06 15:14 
GeneralRe: How-To: Customize Desktop Pin
Super Lloyd17-Oct-06 2:17
Super Lloyd17-Oct-06 2:17 
QuestionA question about async call of an assembly... Pin
Orkun GEDiK15-Oct-06 11:55
Orkun GEDiK15-Oct-06 11:55 
AnswerRe: A question about async call of an assembly... Pin
Nader Elshehabi15-Oct-06 13:59
Nader Elshehabi15-Oct-06 13:59 
GeneralRe: A question about async call of an assembly... Pin
Orkun GEDiK15-Oct-06 20:02
Orkun GEDiK15-Oct-06 20:02 
GeneralRe: A question about async call of an assembly... Pin
Nader Elshehabi16-Oct-06 4:08
Nader Elshehabi16-Oct-06 4:08 
GeneralRe: A question about async call of an assembly... Pin
Orkun GEDiK16-Oct-06 4:14
Orkun GEDiK16-Oct-06 4:14 
QuestionExtracting OLE Object from MS Access Pin
AngryC15-Oct-06 8:56
AngryC15-Oct-06 8:56 
AnswerRe: Extracting OLE Object from MS Access Pin
Nader Elshehabi15-Oct-06 14:01
Nader Elshehabi15-Oct-06 14:01 
GeneralRe: Extracting OLE Object from MS Access Pin
AngryC15-Oct-06 14:34
AngryC15-Oct-06 14:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.