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

C#

 
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 
There are several problems here:
C#
const int MAX_BOOK = 5;
public static void personalDetails()
{
    string[,] books = {
        { "The Time Machine, Science Fiction, By H.G.Wells", "3" },
        { "Ender's Game, Science Fiction, By Orson Scott Card", "1" } };

    int book = 0;
    if (book >= MAX_BOOK)
        Console.WriteLine("You are at your limit!");
}

Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



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 
AnswerRe: Thread Abort Exception Pin
BobJanova15-Dec-11 22:32
BobJanova15-Dec-11 22:32 
GeneralRe: Thread Abort Exception Pin
anishkannan15-Dec-11 22:54
anishkannan15-Dec-11 22:54 
QuestionCreate a licence file. Pin
Jitendra Parida - Jeetu15-Dec-11 0:03
Jitendra Parida - Jeetu15-Dec-11 0:03 
QuestionReplace File Only If Newer (Deployment) Pin
PDaniels3314-Dec-11 23:28
PDaniels3314-Dec-11 23:28 
AnswerRe: Replace File Only If Newer (Deployment) Pin
Not Active15-Dec-11 0:25
mentorNot Active15-Dec-11 0:25 
QuestionHow to find coordinates of each word in pdf file using iTextSharp Pin
NarVish14-Dec-11 23:18
NarVish14-Dec-11 23:18 
QuestionMake a sql query object by C#. Pin
Vincet Shen14-Dec-11 17:05
Vincet Shen14-Dec-11 17:05 
AnswerRe: Make a sql query object by C#. Pin
OriginalGriff14-Dec-11 21:35
mveOriginalGriff14-Dec-11 21:35 
GeneralRe: Make a sql query object by C#. Pin
Vincet Shen15-Dec-11 22:11
Vincet Shen15-Dec-11 22:11 
QuestionEvent Handler for button clicks Pin
Miwin Solutions14-Dec-11 7:43
Miwin Solutions14-Dec-11 7:43 
AnswerRe: Event Handler for button clicks Pin
Luc Pattyn14-Dec-11 8:28
sitebuilderLuc Pattyn14-Dec-11 8:28 
GeneralRe: Event Handler for button clicks Pin
Miwin Solutions14-Dec-11 9:24
Miwin Solutions14-Dec-11 9:24 
GeneralRe: Event Handler for button clicks Pin
Miwin Solutions14-Dec-11 22:46
Miwin Solutions14-Dec-11 22:46 

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.