Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: C# Assignment Pin
OriginalGriff19-May-13 19:04
mveOriginalGriff19-May-13 19:04 
GeneralRe: C# Assignment Pin
N8tiv20-May-13 7:52
N8tiv20-May-13 7:52 
Questionchat client/client Pin
baharan2019-May-13 8:52
baharan2019-May-13 8:52 
AnswerRe: chat client/client Pin
Dave Kreskowiak19-May-13 16:40
mveDave Kreskowiak19-May-13 16:40 
AnswerRe: chat client/client Pin
Abhinav S19-May-13 18:22
Abhinav S19-May-13 18:22 
QuestionC# Help Pin
Member 1006323419-May-13 8:24
Member 1006323419-May-13 8:24 
GeneralRe: C# Help Pin
harold aptroot19-May-13 8:36
harold aptroot19-May-13 8:36 
GeneralRe: C# Help Pin
Member 1006323419-May-13 8:40
Member 1006323419-May-13 8:40 
GeneralRe: C# Help Pin
harold aptroot19-May-13 8:52
harold aptroot19-May-13 8:52 
GeneralRe: C# Help Pin
Member 1006323419-May-13 8:58
Member 1006323419-May-13 8:58 
QuestionHow to count the numbers of pages from printer using ASP.NET With C# Pin
Pankaj Tak19-May-13 7:23
Pankaj Tak19-May-13 7:23 
AnswerRe: How to count the numbers of pages from printer using ASP.NET With C# Pin
Dave Kreskowiak19-May-13 7:37
mveDave Kreskowiak19-May-13 7:37 
GeneralRe: How to count the numbers of pages from printer using ASP.NET With C# Pin
Pankaj Tak22-May-13 17:54
Pankaj Tak22-May-13 17:54 
GeneralRe: How to count the numbers of pages from printer using ASP.NET With C# Pin
Pankaj Tak6-Jun-13 20:58
Pankaj Tak6-Jun-13 20:58 
GeneralRe: How to count the numbers of pages from printer using ASP.NET With C# Pin
Dave Kreskowiak7-Jun-13 13:59
mveDave Kreskowiak7-Jun-13 13:59 
GeneralRe: How to count the numbers of pages from printer using ASP.NET With C# Pin
Pankaj Tak7-Jun-13 17:35
Pankaj Tak7-Jun-13 17:35 

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.