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

C#

 
GeneralRe: SortedList, Key as element of Value Pin
OriginalGriff13-May-09 9:49
mveOriginalGriff13-May-09 9:49 
AnswerRe: SortedList, Key as element of Value Pin
Luc Pattyn13-May-09 9:24
sitebuilderLuc Pattyn13-May-09 9:24 
GeneralRe: SortedList, Key as element of Value Pin
Aaron Hartley13-May-09 9:46
Aaron Hartley13-May-09 9:46 
GeneralRe: SortedList, Key as element of Value Pin
OriginalGriff13-May-09 9:51
mveOriginalGriff13-May-09 9:51 
AnswerRe: SortedList, Key as element of Value Pin
Kythen13-May-09 9:31
Kythen13-May-09 9:31 
QuestionC# Console Application Pin
bigjoe11a13-May-09 7:49
bigjoe11a13-May-09 7:49 
AnswerRe: C# Console Application Pin
Jimmanuel13-May-09 8:10
Jimmanuel13-May-09 8:10 
GeneralRe: C# Console Application Pin
bigjoe11a13-May-09 8:17
bigjoe11a13-May-09 8:17 
Ok, why not. LOL. I mean it doesn't work at all. When I press 1. it just returns to the menu. and so on. Or the default just loads.
DO you know of a sample source code that will show me how to do this the right way.

--------------------------------------------------------------------
MainMenu:
terminal.ClearScreen();
terminal.WriteLine();
terminal.WriteLine("Welcome :" + name);
terminal.WriteLine("1) Game Menu");
terminal.WriteLine("2) List Users");
terminal.WriteLine("3) Help");
terminal.WriteLine("9) Quit");
terminal.Write("Choice : (1,2,3 0r 9)");
int caseSwitch = terminal.ReadDigit();
switch (caseSwitch)
{
case 1:
Functions NewGame = new Functions();
NewGame.GameMenu();
goto MainMenu;
case 2:
terminal.WriteLine("Case 2");
goto MainMenu;
case 3:
Functions NewHelp = new Functions();
NewHelp.Help();
goto MainMenu;
case 9:
break;
default:
terminal.WriteLine("Invalid Key");
terminal.PromptEnter("Press ENTER to Continue..");
goto MainMenu;
}
-----------------------------------------
GeneralRe: C# Console Application Pin
Jimmanuel13-May-09 8:38
Jimmanuel13-May-09 8:38 
GeneralRe: C# Console Application Pin
bigjoe11a13-May-09 10:00
bigjoe11a13-May-09 10:00 
GeneralRe: C# Console Application Pin
Jimmanuel13-May-09 11:33
Jimmanuel13-May-09 11:33 
GeneralRe: C# Console Application Pin
OriginalGriff13-May-09 8:43
mveOriginalGriff13-May-09 8:43 
GeneralRe: C# Console Application Pin
bigjoe11a13-May-09 10:26
bigjoe11a13-May-09 10:26 
GeneralRe: C# Console Application Pin
OriginalGriff13-May-09 22:24
mveOriginalGriff13-May-09 22:24 
GeneralRe: C# Console Application Pin
bigjoe11a14-May-09 4:12
bigjoe11a14-May-09 4:12 
GeneralRe: C# Console Application Pin
OriginalGriff14-May-09 4:31
mveOriginalGriff14-May-09 4:31 
GeneralRe: C# Console Application Pin
bigjoe11a14-May-09 4:39
bigjoe11a14-May-09 4:39 
GeneralRe: C# Console Application Pin
OriginalGriff14-May-09 4:48
mveOriginalGriff14-May-09 4:48 
GeneralRe: C# Console Application Pin
bigjoe11a14-May-09 4:53
bigjoe11a14-May-09 4:53 
Questiondatagrid scroll Pin
michaelgr113-May-09 7:29
michaelgr113-May-09 7:29 
AnswerRe: datagrid scroll Pin
Dave Kreskowiak13-May-09 8:59
mveDave Kreskowiak13-May-09 8:59 
QuestionWindows resizing Pin
michaelgr113-May-09 7:06
michaelgr113-May-09 7:06 
AnswerRe: Windows resizing Pin
musefan13-May-09 7:10
musefan13-May-09 7:10 
AnswerRe: Windows resizing Pin
Giorgi Dalakishvili13-May-09 7:11
mentorGiorgi Dalakishvili13-May-09 7:11 
QuestionAppDomain Pin
humayunlalzad13-May-09 6:42
humayunlalzad13-May-09 6:42 

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.