Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: Collections, plus collection of base type - concept Pin
Luc Pattyn17-Dec-11 2:48
sitebuilderLuc Pattyn17-Dec-11 2:48 
GeneralRe: Collections, plus collection of base type - concept Pin
DaveyM6917-Dec-11 3:10
professionalDaveyM6917-Dec-11 3:10 
AnswerRe: Collections, plus collection of base type - concept Pin
Luc Pattyn17-Dec-11 3:50
sitebuilderLuc Pattyn17-Dec-11 3:50 
AnswerRe: Collections, plus collection of base type - concept Pin
BillWoodruff16-Dec-11 20:48
professionalBillWoodruff16-Dec-11 20:48 
QuestionBoundColumns Not Working Pin
AmbiguousName15-Dec-11 6:45
AmbiguousName15-Dec-11 6:45 
AnswerRe: BoundColumns Not Working Pin
PIEBALDconsult15-Dec-11 7:02
mvePIEBALDconsult15-Dec-11 7:02 
AnswerRe: BoundColumns Not Working Pin
SilimSayo15-Dec-11 13:34
SilimSayo15-Dec-11 13:34 
QuestionC# help? Pin
Brian Reiber15-Dec-11 5:50
Brian Reiber15-Dec-11 5:50 
Thank you so much for your help. Now it is giving me new errors for something else and I dont understand. Does anyone know?

C#
public static void Main()
{
    stringinput,firstname,lastname;
    double idium;
    int password, choice;
    string name;

    Console.WriteLine("Enter your firstname:");
    Console.WriteLine("Enter your ID Number:");
    input = Console.ReadLine();
    FirstName = Convert.ToString(input);


    Console.WriteLine("Enter your lastname:");
    input = Console.ReadLine();
    LastName = Convert.ToString(input);
}

public static void checkout()
{

    Console.Write("You are ready to check out.");

    double[] payRate;
    payRate = new double[4];
    payRate[0] = 3.00;
    payRate[1] = 4.15;
    payRate[2] = 6.42;
    payRate[3] = 7.95;

    for(int x = 0; x < 4; ++x)
    Console.WriteLine("Pay rate {0} is {1}", x, payRate[x].ToString("C"));
   }

}

AnswerRe: C# help? Pin
Paladin200015-Dec-11 6:14
Paladin200015-Dec-11 6:14 
GeneralRe: C# help? Pin
harold aptroot15-Dec-11 6:28
harold aptroot15-Dec-11 6:28 
AnswerRe: C# help? Pin
Richard MacCutchan15-Dec-11 6:29
mveRichard MacCutchan15-Dec-11 6:29 
AnswerRe: C# help? Pin
PIEBALDconsult15-Dec-11 6:36
mvePIEBALDconsult15-Dec-11 6:36 
AnswerRe: C# help? Pin
Deborah Palmer McCain15-Dec-11 8:34
Deborah Palmer McCain15-Dec-11 8:34 
GeneralRe: C# help? Pin
Richard MacCutchan15-Dec-11 22:23
mveRichard MacCutchan15-Dec-11 22:23 
GeneralRe: C# help? Pin
Deborah Palmer McCain16-Dec-11 6:35
Deborah Palmer McCain16-Dec-11 6:35 
AnswerRe: C# help? PinPopular
DaveyM6915-Dec-11 9:25
professionalDaveyM6915-Dec-11 9:25 
GeneralRe: C# help? Pin
Luc Pattyn15-Dec-11 19:59
sitebuilderLuc Pattyn15-Dec-11 19:59 
AnswerRe: C# help? Pin
gymmy15-Dec-11 12:31
gymmy15-Dec-11 12:31 
AnswerRe: C# help? Pin
DaveyM6915-Dec-11 13:18
professionalDaveyM6915-Dec-11 13:18 
QuestionC# question? Pin
Brian Reiber15-Dec-11 5:14
Brian Reiber15-Dec-11 5:14 
AnswerRe: C# question? Pin
DaveyM6915-Dec-11 5:32
professionalDaveyM6915-Dec-11 5:32 
AnswerRe: C# question? PinPopular
Pete O'Hanlon15-Dec-11 5:37
mvePete O'Hanlon15-Dec-11 5:37 
GeneralRe: C# question? Pin
harold aptroot15-Dec-11 6:22
harold aptroot15-Dec-11 6:22 
QuestionWindows 7: Automatic file delete? Pin
Paladin200015-Dec-11 4:52
Paladin200015-Dec-11 4:52 
QuestionThread Abort Exception Pin
anishkannan15-Dec-11 0:27
anishkannan15-Dec-11 0:27 

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.