Click here to Skip to main content
15,904,024 members
Home / Discussions / C#
   

C#

 
GeneralRe: Understanding Jagged Arrays Pin
Jasmine250120-May-13 12:47
Jasmine250120-May-13 12:47 
GeneralRe: Understanding Jagged Arrays Pin
N8tiv20-May-13 13:04
N8tiv20-May-13 13:04 
GeneralRe: Understanding Jagged Arrays Pin
Jasmine250120-May-13 13:31
Jasmine250120-May-13 13:31 
GeneralRe: Understanding Jagged Arrays Pin
N8tiv20-May-13 13:41
N8tiv20-May-13 13:41 
GeneralRe: Understanding Jagged Arrays Pin
N8tiv23-May-13 21:17
N8tiv23-May-13 21:17 
Questioncounting in c# Pin
MKS Khalid20-May-13 0:50
MKS Khalid20-May-13 0:50 
AnswerRe: counting in c# Pin
Eddy Vluggen20-May-13 1:17
professionalEddy Vluggen20-May-13 1:17 
AnswerRe: counting in c# Pin
Pete O'Hanlon20-May-13 1:26
mvePete O'Hanlon20-May-13 1:26 
AnswerRe: counting in c# Pin
Keith Barrow20-May-13 2:12
professionalKeith Barrow20-May-13 2:12 
AnswerRe: counting in c# Pin
Richard MacCutchan20-May-13 3:10
mveRichard MacCutchan20-May-13 3:10 
GeneralRe: counting in c# Pin
MKS Khalid20-May-13 8:32
MKS Khalid20-May-13 8:32 
AnswerRe: counting in c# Pin
Abhinav S20-May-13 5:13
Abhinav S20-May-13 5:13 
Questionnested for Pin
MKS Khalid19-May-13 21:42
MKS Khalid19-May-13 21:42 
AnswerRe: nested for Pin
Richard MacCutchan19-May-13 21:55
mveRichard MacCutchan19-May-13 21:55 
AnswerRe: nested for Pin
Keith Barrow19-May-13 22:46
professionalKeith Barrow19-May-13 22:46 
AnswerRe: nested for Pin
Abhinav S20-May-13 0:36
Abhinav S20-May-13 0:36 
QuestionC# Assignment Pin
Member 1006323419-May-13 9:14
Member 1006323419-May-13 9:14 
AnswerRe: C# Assignment - Repost Pin
Richard MacCutchan19-May-13 9:36
mveRichard MacCutchan19-May-13 9:36 
GeneralRe: C# Assignment - Repost Pin
Member 1006323419-May-13 9:37
Member 1006323419-May-13 9:37 
GeneralRe: C# Assignment - Repost Pin
Richard MacCutchan19-May-13 9:46
mveRichard MacCutchan19-May-13 9:46 
GeneralRe: C# Assignment - Repost Pin
Member 1006323419-May-13 9:49
Member 1006323419-May-13 9:49 
AnswerRe: C# Assignment Pin
NotPolitcallyCorrect19-May-13 10:16
NotPolitcallyCorrect19-May-13 10:16 
GeneralRe: C# Assignment Pin
Member 1006323419-May-13 10:26
Member 1006323419-May-13 10:26 
GeneralRe: C# Assignment Pin
NotPolitcallyCorrect19-May-13 10:38
NotPolitcallyCorrect19-May-13 10:38 
Member 10063234 wrote:
still don't understand it


How would I know what it is that you do not understand?
Do you not understand what an array is? Do you not understand how to access an element in an array? For your example, combo is string array yes? To access your first element in the array you need to supply the index of the element that you want to access i.e. combo[0] would let you access the first string of the array. To access the second element, you would need to access index 1, combo[1]. Unless your textbook is the worst book programming book in the universe, this information is in there. When you wrote combo[], you are referring to the entire array and a string array does not have a Substring method, hence your error. An individual string has a Substring method.
GeneralRe: C# Assignment Pin
Member 1006323419-May-13 10:57
Member 1006323419-May-13 10:57 

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.