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

C#

 
QuestionChanging image size ? Pin
Mohammad Dayyan7-Sep-08 12:31
Mohammad Dayyan7-Sep-08 12:31 
AnswerRe: Changing image size ? Pin
N a v a n e e t h7-Sep-08 18:36
N a v a n e e t h7-Sep-08 18:36 
QuestionString Obfusication cause program not to work. Pin
Buckleyindahouse7-Sep-08 11:11
Buckleyindahouse7-Sep-08 11:11 
AnswerRe: String Obfusication cause program not to work. Pin
Mbah Dhaim7-Sep-08 11:34
Mbah Dhaim7-Sep-08 11:34 
AnswerRe: String Obfusication cause program not to work. Pin
#realJSOP7-Sep-08 23:53
mve#realJSOP7-Sep-08 23:53 
GeneralGetting DataGridView to work with 3 DB tables Pin
jocke4u7-Sep-08 9:58
jocke4u7-Sep-08 9:58 
GeneralRe: Getting DataGridView to work with 3 DB tables Pin
Wendelius7-Sep-08 11:03
mentorWendelius7-Sep-08 11:03 
QuestionMaking a C# Console Menu [modified] Pin
CaptainKrtek7-Sep-08 8:47
CaptainKrtek7-Sep-08 8:47 
Hello,
Im trying to make a little application to have a console application open and say 1 for addition 2 for multiplication, etc.
i do not know how to make a menu for a console where if i type 1 i need the console to read it and show the layout for the addition.
please help! Smile | :)

-Steven
krtek16@hotmail.com

p.s. i wrote it like this (addition example)
{
console.writeline("please enter first number to add");

string sNumber1Add;
sNumber1Add = console.readline();
double dNumber1;
dNumber1 = Convert.ToDouble(sNumber1Add);

console.writeline("please enter second number to add");

string sNumber2Add;
sNumber2Add = console.readline();
double dNumber2;
dNumber2 = Convert.ToDouble(sNumber2Add);

//add together

double dAnswerAdd;
dAnswerAdd = dNumber1Add + dNumber2Add;

console.writeline("The answer is + "
dAnswerAdd);

console.writeline("press enter to terminate");
console.read();
}

modified on Sunday, September 7, 2008 2:55 PM

AnswerRe: Making a C# Console Menu Pin
Mbah Dhaim7-Sep-08 9:52
Mbah Dhaim7-Sep-08 9:52 
GeneralRe: Making a C# Console Menu Pin
CaptainKrtek7-Sep-08 10:28
CaptainKrtek7-Sep-08 10:28 
QuestionDifferently another way to set value for element in XML? Pin
nhatvhm7-Sep-08 7:33
nhatvhm7-Sep-08 7:33 
AnswerRe: Differently another way to set value for element in XML? Pin
Guffa7-Sep-08 8:01
Guffa7-Sep-08 8:01 
GeneralRe: Differently another way to set value for element in XML? Pin
nhatvhm7-Sep-08 15:43
nhatvhm7-Sep-08 15:43 
QuestionHow do I open a help file? Pin
thucbv7-Sep-08 7:23
thucbv7-Sep-08 7:23 
AnswerRe: How do I open a help file? Pin
Mbah Dhaim7-Sep-08 7:31
Mbah Dhaim7-Sep-08 7:31 
QuestionHow can we read a web file ? Pin
Mohammad Dayyan7-Sep-08 6:39
Mohammad Dayyan7-Sep-08 6:39 
AnswerRe: How can we read a web file ? Pin
Mbah Dhaim7-Sep-08 7:11
Mbah Dhaim7-Sep-08 7:11 
AnswerRe: How can we read a web file ? Pin
Guffa7-Sep-08 7:33
Guffa7-Sep-08 7:33 
GeneralRe: How can we read a web file ? Pin
Mohammad Dayyan7-Sep-08 12:35
Mohammad Dayyan7-Sep-08 12:35 
QuestionHow to capture IE/Firefox Addressbar . Pin
Heracles Choe7-Sep-08 3:31
Heracles Choe7-Sep-08 3:31 
Questionhow to copy file using c# to linux which has samba Pin
gencokyay7-Sep-08 1:40
gencokyay7-Sep-08 1:40 
QuestionI lost My Dll Who I Can Return it Pin
Thaer Hamael7-Sep-08 1:15
Thaer Hamael7-Sep-08 1:15 
AnswerRe: I lost My Dll Who I Can Return it [modified] Pin
Mbah Dhaim7-Sep-08 1:29
Mbah Dhaim7-Sep-08 1:29 
AnswerRe: I lost My Dll Who I Can Return it Pin
Paul Conrad7-Sep-08 5:38
professionalPaul Conrad7-Sep-08 5:38 
QuestionSerializable attribute!!! [modified] Pin
Hussam Fattahi7-Sep-08 1:12
Hussam Fattahi7-Sep-08 1:12 

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.