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

C#

 
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 
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 
In addition to the errors ThePhantomUpvoted has mentioned, you also need to look at what you are doing with the data, when you have corrected the problem he describes. Why are you converting data to character? What you are writing here:
C#
string name = Convert.ToChar(combo[].Substring(0, 7));
Is the equivalent of
C#
string name = Convert.ToChar("Widget ");
Which is silly: a string is made up of a number of characters (think of it as an array of characters), so you take a string, convert it to a character - which is a silly idea all on it's own - and then try to store the character into a string again!

Take a deep breath, step away from the keyboard and think about what you are trying to do. Then ignore you code for a moment, and use a piece of paper and a pencil to work out exactly how you would do this yourself. When you have that, you should be ready to look at your instructions and work out what to do.
They are quite explicit:
Create a void method that will accept as arguments the two arrays of strings and the array of doubles when called from Main.
Does your parse method do exactly that?
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

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 
GeneralRe: How to count the numbers of pages from printer using ASP.NET With C# Pin
Dave Kreskowiak7-Jun-13 18:29
mveDave Kreskowiak7-Jun-13 18:29 
GeneralRe: How to count the numbers of pages from printer using ASP.NET With C# Pin
Pankaj Tak7-Jun-13 19:13
Pankaj Tak7-Jun-13 19:13 

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.