Click here to Skip to main content
15,927,213 members
Home / Discussions / C#
   

C#

 
AnswerRe: Can someone help? Pin
Colin Angus Mackay20-Aug-04 8:09
Colin Angus Mackay20-Aug-04 8:09 
GeneralRe: Can someone help? Pin
Larkdog20-Aug-04 8:22
Larkdog20-Aug-04 8:22 
GeneralRe: Can someone help? Pin
Colin Angus Mackay20-Aug-04 8:40
Colin Angus Mackay20-Aug-04 8:40 
GeneralRe: Can someone help? Pin
Larkdog20-Aug-04 10:06
Larkdog20-Aug-04 10:06 
GeneralRe: Can someone help? Pin
Colin Angus Mackay20-Aug-04 10:48
Colin Angus Mackay20-Aug-04 10:48 
GeneralRe: Can someone help? Pin
je_gonzalez20-Aug-04 13:19
je_gonzalez20-Aug-04 13:19 
GeneralRe: Can someone help? Pin
Colin Angus Mackay20-Aug-04 21:18
Colin Angus Mackay20-Aug-04 21:18 
AnswerRe: Can someone help? Pin
sreejith ss nair20-Aug-04 19:35
sreejith ss nair20-Aug-04 19:35 
hi,

Better try to consice your question with main points. Otherwise no one will try to read.


See in C# what every input you are giving through console is treating as string. And it's your headache to convert it into your required form.
You can use Console.Read() insted of Console.Readline().

static void Main(string[] args)
{
char Responce;
Console.WriteLine("Please enter your first initial, or type Z to to find your total commision.");
Responce=Convert.ToChar(Console.Read());
Console.WriteLine(Responce.ToString());
}

Blush | :O


**************************
S r e e j i t h N a i r
**************************
GeneralRe: Can someone help? Pin
Colin Angus Mackay21-Aug-04 0:13
Colin Angus Mackay21-Aug-04 0:13 
GeneralRe: Can someone help? Pin
sreejith ss nair21-Aug-04 0:50
sreejith ss nair21-Aug-04 0:50 
GeneralScrollbars Pin
Gary Kirkham20-Aug-04 7:45
Gary Kirkham20-Aug-04 7:45 
GeneralRe: Scrollbars Pin
Nick Parker20-Aug-04 7:59
protectorNick Parker20-Aug-04 7:59 
GeneralRe: Scrollbars Pin
Gary Kirkham20-Aug-04 8:12
Gary Kirkham20-Aug-04 8:12 
GeneralRe: Scrollbars Pin
Werdna20-Aug-04 13:05
Werdna20-Aug-04 13:05 
Generalmfc contron in c# Pin
isamir20-Aug-04 6:44
isamir20-Aug-04 6:44 
GeneralRe: mfc contron in c# Pin
Nick Parker20-Aug-04 7:05
protectorNick Parker20-Aug-04 7:05 
GeneralRe: mfc contron in c# Pin
isamir20-Aug-04 7:30
isamir20-Aug-04 7:30 
GeneralRe: mfc contron in c# Pin
Nick Parker20-Aug-04 7:51
protectorNick Parker20-Aug-04 7:51 
Generalauthoring tool in c# Pin
hudhud20-Aug-04 6:32
hudhud20-Aug-04 6:32 
GeneralRe: authoring tool in c# Pin
Dave Kreskowiak20-Aug-04 9:36
mveDave Kreskowiak20-Aug-04 9:36 
GeneralRotate Text - Find bounding rectangle Pin
Member 64401620-Aug-04 6:03
Member 64401620-Aug-04 6:03 
GeneralRe: Rotate Text - Find bounding rectangle Pin
Heath Stewart20-Aug-04 12:32
protectorHeath Stewart20-Aug-04 12:32 
GeneralRe: Rotate Text - Find bounding rectangle Pin
Werdna20-Aug-04 13:09
Werdna20-Aug-04 13:09 
GeneralRe: Rotate Text - Find bounding rectangle Pin
Member 64401623-Aug-04 6:43
Member 64401623-Aug-04 6:43 
GeneralRe: Rotate Text - Find bounding rectangle Pin
cnurse20-Aug-04 22:51
cnurse20-Aug-04 22:51 

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.