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

C#

 
AnswerRe: External component has thrown an exception Pin
Abhinav S1-Oct-13 20:44
Abhinav S1-Oct-13 20:44 
GeneralRe: External component has thrown an exception Pin
Member 102708252-Oct-13 0:38
Member 102708252-Oct-13 0:38 
GeneralRe: External component has thrown an exception Pin
Dave Kreskowiak2-Oct-13 4:37
mveDave Kreskowiak2-Oct-13 4:37 
GeneralRe: External component has thrown an exception Pin
ramonminarro11-Mar-22 3:10
ramonminarro11-Mar-22 3:10 
GeneralRe: External component has thrown an exception Pin
Dave Kreskowiak11-Mar-22 3:46
mveDave Kreskowiak11-Mar-22 3:46 
QuestionC# assignment please help Pin
bmulgrew11-Oct-13 18:07
professionalbmulgrew11-Oct-13 18:07 
AnswerRe: C# assignment please help Pin
Abhinav S1-Oct-13 21:10
Abhinav S1-Oct-13 21:10 
AnswerRe: C# assignment please help Pin
OriginalGriff1-Oct-13 21:25
mveOriginalGriff1-Oct-13 21:25 
I'm not going to look at that - it's a code dump, and pretty much unreadable without formatting.
So start like this: edit your question, cut it down to just the relevant bits, and enclose them in <pre> tags, by highlighting it, and using the "code" widget on the toolbar above the textbox.
That will keep the indentation and engage the syntax highlighter, which makes it a lot easier for us to read. It changes this:
// Get the Customer Name and exit is an error is detected
while (CustomerNumber[Customer_no] == "")
{
Console.Write("Customer Name > ");
CustomerName[Customer_no] = Console.ReadLine();
if (CustomerNumber[Customer_no] == "")
{
Console.WriteLine("Error : Customer Name cannot be empty,");
}
}

To this:
C#
// Get the Customer Name and exit is an error is detected
while (CustomerNumber[Customer_no] == "")
    {
    Console.Write("Customer Name > ");
    CustomerName[Customer_no] = Console.ReadLine();
    if (CustomerNumber[Customer_no] == "")
        {
        Console.WriteLine("Error : Customer Name cannot be empty,");
        }
    }
which is much, much easier to follow - especially when it is part of a larger context.

Then, drop the homework question at the top, and tell use what you expect the code to do and what it is doing that you didn't expect, or not doing that you did - and how you get it to do that. Remember, we can't see your screen!

Then we might be able to help you more easily - help us to help you!
The only instant messaging I do involves my middle finger.

GeneralDestructors Pin
N8tiv1-Oct-13 15:34
N8tiv1-Oct-13 15:34 
GeneralRe: Destructors Pin
Richard Andrew x641-Oct-13 16:29
professionalRichard Andrew x641-Oct-13 16:29 
GeneralRe: Destructors Pin
N8tiv1-Oct-13 16:31
N8tiv1-Oct-13 16:31 
GeneralRe: Destructors Pin
Richard Andrew x641-Oct-13 17:09
professionalRichard Andrew x641-Oct-13 17:09 
GeneralRe: Destructors Pin
Dave Kreskowiak1-Oct-13 17:05
mveDave Kreskowiak1-Oct-13 17:05 
GeneralRe: Destructors Pin
Richard Andrew x641-Oct-13 17:08
professionalRichard Andrew x641-Oct-13 17:08 
GeneralRe: Destructors Pin
Keith Barrow1-Oct-13 22:45
professionalKeith Barrow1-Oct-13 22:45 
GeneralRe: Destructors Pin
N8tiv1-Oct-13 19:56
N8tiv1-Oct-13 19:56 
AnswerRe: Destructors Pin
Ron Beyer1-Oct-13 17:48
professionalRon Beyer1-Oct-13 17:48 
GeneralRe: Destructors Pin
jschell2-Oct-13 8:42
jschell2-Oct-13 8:42 
AnswerRe: Destructors Pin
Abhinav S1-Oct-13 21:12
Abhinav S1-Oct-13 21:12 
GeneralRe: Destructors Pin
Pete O'Hanlon1-Oct-13 21:58
mvePete O'Hanlon1-Oct-13 21:58 
QuestionEager Loading Problem Pin
eddieangel1-Oct-13 11:53
eddieangel1-Oct-13 11:53 
AnswerRe: Eager Loading Problem Pin
Mycroft Holmes1-Oct-13 12:54
professionalMycroft Holmes1-Oct-13 12:54 
GeneralRe: Eager Loading Problem Pin
eddieangel1-Oct-13 13:06
eddieangel1-Oct-13 13:06 
QuestionSending SMS Text Messages Pin
Kevin Marois1-Oct-13 5:35
professionalKevin Marois1-Oct-13 5:35 
AnswerRe: Sending SMS Text Messages Pin
Keith Barrow1-Oct-13 5:49
professionalKeith Barrow1-Oct-13 5:49 

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.