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

C#

 
AnswerRe: Add five zéros on the left of int Pin
carbon_golem16-Feb-09 9:06
carbon_golem16-Feb-09 9:06 
AnswerRe: Add five zéros on the left of int PinPopular
Guffa16-Feb-09 9:09
Guffa16-Feb-09 9:09 
GeneralRe: Add five zéros on the left of int Pin
Rutvik Dave16-Feb-09 11:20
professionalRutvik Dave16-Feb-09 11:20 
AnswerRe: Add five zéros on the left of int Pin
Eddy Vluggen16-Feb-09 9:11
professionalEddy Vluggen16-Feb-09 9:11 
GeneralRe: Add five zéros on the left of int Pin
Guffa16-Feb-09 9:19
Guffa16-Feb-09 9:19 
GeneralRe: Add five zéros on the left of int Pin
Tony Pottier16-Feb-09 9:22
Tony Pottier16-Feb-09 9:22 
GeneralRe: Add five zéros on the left of int Pin
Eddy Vluggen16-Feb-09 11:04
professionalEddy Vluggen16-Feb-09 11:04 
JokeRe: Add five zéros on the left of int Pin
Guffa16-Feb-09 12:12
Guffa16-Feb-09 12:12 
There sure are some interresting solutions. Here's an almost completely useless way of doing it:

String.Join(null,number.ToString().ToCharArray().Reverse().Select(c=>c.ToString()).Concat(new int[10].Select(i=>i.ToString())).Take(10).Reverse().ToArray())

Wink | ;)

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Add five zéros on the left of int Pin
Eddy Vluggen16-Feb-09 20:36
professionalEddy Vluggen16-Feb-09 20:36 
GeneralRe: Add five zéros on the left of int Pin
Rutvik Dave16-Feb-09 11:22
professionalRutvik Dave16-Feb-09 11:22 
GeneralRe: Add five zéros on the left of int Pin
Guffa16-Feb-09 14:03
Guffa16-Feb-09 14:03 
GeneralRe: Add five zéros on the left of int Pin
Rutvik Dave17-Feb-09 3:50
professionalRutvik Dave17-Feb-09 3:50 
GeneralRe: Add five zéros on the left of int Pin
Guffa17-Feb-09 5:21
Guffa17-Feb-09 5:21 
GeneralRe: Add five zéros on the left of int Pin
Eddy Vluggen16-Feb-09 20:39
professionalEddy Vluggen16-Feb-09 20:39 
GeneralRe: Add five zéros on the left of int Pin
Rutvik Dave17-Feb-09 3:57
professionalRutvik Dave17-Feb-09 3:57 
GeneralRe: Add five zéros on the left of int Pin
Eddy Vluggen17-Feb-09 4:32
professionalEddy Vluggen17-Feb-09 4:32 
AnswerRe: Add five zéros on the left of int Pin
alantu16-Feb-09 15:49
alantu16-Feb-09 15:49 
QuestionRead string with é, è, à Pin
abbd16-Feb-09 8:30
abbd16-Feb-09 8:30 
AnswerRe: Read string with é, è, à Pin
Tony Pottier16-Feb-09 9:24
Tony Pottier16-Feb-09 9:24 
GeneralRe: Read string with é, è, à Pin
abbd16-Feb-09 21:15
abbd16-Feb-09 21:15 
Questionproblem whit Combo-Box Pin
E_Gold16-Feb-09 7:32
E_Gold16-Feb-09 7:32 
AnswerRe: problem whit Combo-Box Pin
Eddy Vluggen16-Feb-09 7:40
professionalEddy Vluggen16-Feb-09 7:40 
GeneralRe: problem whit Combo-Box Pin
Xmen Real 16-Feb-09 7:56
professional Xmen Real 16-Feb-09 7:56 
GeneralRe: problem whit Combo-Box Pin
Eddy Vluggen16-Feb-09 8:12
professionalEddy Vluggen16-Feb-09 8:12 
GeneralRe: problem whit Combo-Box Pin
E_Gold16-Feb-09 8:24
E_Gold16-Feb-09 8:24 

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.