Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: I need help with C# loops [modified] Pin
PIEBALDconsult21-Jan-08 11:33
mvePIEBALDconsult21-Jan-08 11:33 
GeneralRe: I need help with C# loops Pin
Colin Angus Mackay21-Jan-08 14:26
Colin Angus Mackay21-Jan-08 14:26 
GeneralRe: I need help with C# loops Pin
PIEBALDconsult21-Jan-08 15:27
mvePIEBALDconsult21-Jan-08 15:27 
GeneralRe: I need help with C# loops Pin
Colin Angus Mackay21-Jan-08 14:40
Colin Angus Mackay21-Jan-08 14:40 
GeneralRe: I need help with C# loops Pin
PIEBALDconsult21-Jan-08 16:11
mvePIEBALDconsult21-Jan-08 16:11 
GeneralRe: I need help with C# loops Pin
Colin Angus Mackay21-Jan-08 21:32
Colin Angus Mackay21-Jan-08 21:32 
GeneralRe: I need help with C# loops Pin
PIEBALDconsult22-Jan-08 5:08
mvePIEBALDconsult22-Jan-08 5:08 
GeneralRe: I need help with C# loops Pin
Guffa21-Jan-08 22:19
Guffa21-Jan-08 22:19 
Letting the replace do the looping is an interresting idea. The string constructor can do some looping too. Smile | :)

int w=6,h=4;Console.Write(("h"+new string('w',h-2)+"h").Replace("h",new string('*',w)+"n").Replace("w","*"+new string(' ',w-2)+"*n").Replace("n", Environment.NewLine));

Experience is the sum of all the mistakes you have done.

GeneralRe: I need help with C# loops Pin
PIEBALDconsult22-Jan-08 6:39
mvePIEBALDconsult22-Jan-08 6:39 
GeneralRe: I need help with C# loops Pin
Guffa22-Jan-08 9:02
Guffa22-Jan-08 9:02 
GeneralRe: I need help with C# loops Pin
Gareth H21-Jan-08 11:38
Gareth H21-Jan-08 11:38 
GeneralRe: I need help with C# loops Pin
Guffa21-Jan-08 13:20
Guffa21-Jan-08 13:20 
GeneralRe: I need help with C# loops Pin
PIEBALDconsult21-Jan-08 16:19
mvePIEBALDconsult21-Jan-08 16:19 
JokeRe: I need help with C# loops Pin
Guffa21-Jan-08 22:01
Guffa21-Jan-08 22:01 
GeneralPostMessage Problem Pin
stebo072821-Jan-08 9:02
stebo072821-Jan-08 9:02 
GeneralRe: PostMessage Problem Pin
stebo072821-Jan-08 10:40
stebo072821-Jan-08 10:40 
GeneralForm diagram Pin
netJP12L21-Jan-08 5:31
netJP12L21-Jan-08 5:31 
GeneralRe: Form diagram Pin
Gareth H21-Jan-08 8:09
Gareth H21-Jan-08 8:09 
GeneralRegarding Google language translation C# Pin
Member 470816321-Jan-08 4:48
Member 470816321-Jan-08 4:48 
Generalproblem with value from database Pin
eyeseetee21-Jan-08 4:31
eyeseetee21-Jan-08 4:31 
AnswerRe: problem with value from database Pin
Vikram A Punathambekar21-Jan-08 5:02
Vikram A Punathambekar21-Jan-08 5:02 
GeneralRe: problem with value from database Pin
Gareth H21-Jan-08 8:04
Gareth H21-Jan-08 8:04 
Generalradiobutton list enable one of the items Pin
eyeseetee21-Jan-08 3:31
eyeseetee21-Jan-08 3:31 
GeneralRe: radiobutton list enable one of the items Pin
Mustafa Ismail Mustafa21-Jan-08 3:36
Mustafa Ismail Mustafa21-Jan-08 3:36 
GeneralRe: radiobutton list enable one of the items Pin
eyeseetee21-Jan-08 3:48
eyeseetee21-Jan-08 3:48 

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.