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

C#

 
QuestionFloating child form linked to Treemap nodes Pin
boreland12-Mar-10 10:08
boreland12-Mar-10 10:08 
AnswerMessage Closed Pin
12-Mar-10 10:15
stancrm12-Mar-10 10:15 
GeneralRe: Floating child form linked to Treemap nodes [modified] Pin
boreland12-Mar-10 10:32
boreland12-Mar-10 10:32 
GeneralRe: Floating child form linked to Treemap nodes Pin
Dave Kreskowiak12-Mar-10 11:13
mveDave Kreskowiak12-Mar-10 11:13 
AnswerRe: Floating child form linked to Treemap nodes Pin
Luc Pattyn12-Mar-10 11:04
sitebuilderLuc Pattyn12-Mar-10 11:04 
GeneralRe: Floating child form linked to Treemap nodes Pin
boreland12-Mar-10 11:09
boreland12-Mar-10 11:09 
Questionabout remote desktop(noel) Pin
v_neil8712-Mar-10 8:54
v_neil8712-Mar-10 8:54 
QuestionHelp with C# Pin
Janded12-Mar-10 0:15
Janded12-Mar-10 0:15 
I am having some problem with my c# program. The program was meant to ask a user for their age and a pin code, if the user is over 18, it ask them for their pin code and how many times they want their name displayed btw 5 and 20 but if they are not, a particular message comes up.

I am having problem setting up the variables. Do I have to store the age, pincode and numbers in int ?

This is what I have done so far and i have tried entering a wrong pin code but it didn;'t give me the messages i wanted.

class Program
{
static void Main(string[] args)
{
int age;
long pinCode;
int number;



age = 18;
pinCode = 1965;
number = 5;

What am I doing wrong?
AnswerRe: Help with C# Pin
OriginalGriff12-Mar-10 0:59
mveOriginalGriff12-Mar-10 0:59 
GeneralRe: Help with C# Pin
riced12-Mar-10 4:42
riced12-Mar-10 4:42 
GeneralRe: Help with C# Pin
OriginalGriff12-Mar-10 4:53
mveOriginalGriff12-Mar-10 4:53 
GeneralUnivoter strikes! Pin
OriginalGriff12-Mar-10 5:35
mveOriginalGriff12-Mar-10 5:35 
GeneralRe: Univoter strikes! Pin
harold aptroot12-Mar-10 8:11
harold aptroot12-Mar-10 8:11 
GeneralRe: Univoter strikes! Pin
riced12-Mar-10 13:31
riced12-Mar-10 13:31 
GeneralRe: Univoter strikes! Pin
OriginalGriff12-Mar-10 21:59
mveOriginalGriff12-Mar-10 21:59 
AnswerRe: Help with C# Pin
The Man from U.N.C.L.E.12-Mar-10 8:21
The Man from U.N.C.L.E.12-Mar-10 8:21 
GeneralMessage Removed Pin
13-Mar-10 4:03
Janded13-Mar-10 4:03 
GeneralRe: Help with C# Pin
The Man from U.N.C.L.E.14-Mar-10 23:40
The Man from U.N.C.L.E.14-Mar-10 23:40 
GeneralRe: Help with C# Pin
Janded19-Mar-10 1:42
Janded19-Mar-10 1:42 
GeneralRe: Help with C# Pin
Janded19-Mar-10 2:04
Janded19-Mar-10 2:04 
GeneralRe: Help with C# Pin
The Man from U.N.C.L.E.19-Mar-10 2:20
The Man from U.N.C.L.E.19-Mar-10 2:20 
GeneralRe: Help with C# Pin
Janded20-Mar-10 2:42
Janded20-Mar-10 2:42 
GeneralRe: Help with C# Pin
Janded20-Mar-10 2:57
Janded20-Mar-10 2:57 
Questionwrite to app.config through c# Pin
prasadbuddhika11-Mar-10 22:47
prasadbuddhika11-Mar-10 22:47 
AnswerRe: write to app.config through c# Pin
Estys11-Mar-10 23:36
Estys11-Mar-10 23:36 

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.