Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: Just wondering..c# online Pin
stephen.darling10-Sep-11 8:24
stephen.darling10-Sep-11 8:24 
QuestionPacking optimisation code/alogrithm required Pin
_awatts9-Sep-11 2:37
_awatts9-Sep-11 2:37 
AnswerRe: Packing optimisation code/alogrithm required Pin
Luc Pattyn9-Sep-11 4:12
sitebuilderLuc Pattyn9-Sep-11 4:12 
GeneralRe: Packing optimisation code/alogrithm required Pin
_awatts9-Sep-11 5:45
_awatts9-Sep-11 5:45 
GeneralRe: Packing optimisation code/alogrithm required Pin
MicroVirus9-Sep-11 13:03
MicroVirus9-Sep-11 13:03 
AnswerRe: Packing optimisation code/alogrithm required Pin
Richard MacCutchan9-Sep-11 6:25
mveRichard MacCutchan9-Sep-11 6:25 
Questionpresent a value (as string) into many formats Pin
MrKBA9-Sep-11 1:45
MrKBA9-Sep-11 1:45 
AnswerRe: present a value (as string) into many formats Pin
Wayne Gaylard9-Sep-11 1:58
professionalWayne Gaylard9-Sep-11 1:58 
You need to look into the String.Format methods[^]. The link points to the MSDN page for this.

As for converting lengths i.e from centimetre to metre etc, you are going to have to have some sort of conversion class that does the actual conversion, and then calls String.Format on the result.

Hope this helps
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

QuestionRegular expression to check special character Pin
sri_34648-Sep-11 10:47
sri_34648-Sep-11 10:47 
AnswerRe: Regular expression to check special character Pin
dasblinkenlight8-Sep-11 11:13
dasblinkenlight8-Sep-11 11:13 
AnswerRe: Regular expression to check special character Pin
AspDotNetDev8-Sep-11 13:21
protectorAspDotNetDev8-Sep-11 13:21 
GeneralRe: Regular expression to check special character Pin
sri_346411-Sep-11 9:25
sri_346411-Sep-11 9:25 
QuestionHow do you make repeatable backgrounds for things in XAML? Pin
Xarzu8-Sep-11 8:05
Xarzu8-Sep-11 8:05 
AnswerRe: How do you make repeatable backgrounds for things in XAML? Pin
TheGreatAndPowerfulOz8-Sep-11 10:10
TheGreatAndPowerfulOz8-Sep-11 10:10 
AnswerRe: How do you make repeatable backgrounds for things in XAML? Pin
AspDotNetDev8-Sep-11 10:14
protectorAspDotNetDev8-Sep-11 10:14 
QuestionSpinning Roulette Wheel Pin
stephen.darling8-Sep-11 6:31
stephen.darling8-Sep-11 6:31 
AnswerRe: Spinning Roulette Wheel Pin
Rob Philpott8-Sep-11 6:55
Rob Philpott8-Sep-11 6:55 
GeneralRe: Spinning Roulette Wheel Pin
GenJerDan8-Sep-11 9:44
GenJerDan8-Sep-11 9:44 
GeneralRe: Spinning Roulette Wheel Pin
MicroVirus8-Sep-11 13:34
MicroVirus8-Sep-11 13:34 
AnswerRe: Spinning Roulette Wheel Pin
Luc Pattyn8-Sep-11 15:47
sitebuilderLuc Pattyn8-Sep-11 15:47 
GeneralRe: Spinning Roulette Wheel Pin
PIEBALDconsult8-Sep-11 16:49
mvePIEBALDconsult8-Sep-11 16:49 
GeneralRe: Spinning Roulette Wheel Pin
Marcus_29-Sep-11 3:44
Marcus_29-Sep-11 3:44 
GeneralRe: Spinning Roulette Wheel Pin
PIEBALDconsult9-Sep-11 16:35
mvePIEBALDconsult9-Sep-11 16:35 
GeneralRe: Spinning Roulette Wheel Pin
stephen.darling9-Sep-11 2:02
stephen.darling9-Sep-11 2:02 
AnswerRe: Spinning Roulette Wheel Pin
PIEBALDconsult8-Sep-11 14:40
mvePIEBALDconsult8-Sep-11 14:40 

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.