Click here to Skip to main content
14,774,040 members
Home » Discussions » C#
   

C#

 
AnswerRe: Doc version management Pin
Pete O'Hanlon16-Jul-20 10:23
mvePete O'Hanlon16-Jul-20 10:23 
AnswerRe: Doc version management Pin
Gerry Schmitz17-Jul-20 5:36
mveGerry Schmitz17-Jul-20 5:36 
QuestionPadding a string with integers on its right keeping string length fixed Pin
simpledeveloper14-Jul-20 8:56
Membersimpledeveloper14-Jul-20 8:56 
AnswerRe: Padding a string with integers on its right keeping string length fixed Pin
OriginalGriff14-Jul-20 9:25
mveOriginalGriff14-Jul-20 9:25 
GeneralRe: Padding a string with integers on its right keeping string length fixed Pin
simpledeveloper14-Jul-20 11:33
Membersimpledeveloper14-Jul-20 11:33 
GeneralRe: Padding a string with integers on its right keeping string length fixed Pin
OriginalGriff14-Jul-20 11:58
mveOriginalGriff14-Jul-20 11:58 
AnswerRe: Padding a string with integers on its right keeping string length fixed Pin
#realJSOP15-Jul-20 1:40
mva#realJSOP15-Jul-20 1:40 
GeneralRe: Padding a string with integers on its right keeping string length fixed Pin
Richard Deeming15-Jul-20 4:30
mveRichard Deeming15-Jul-20 4:30 
Even simpler:
string x = string.Format("T{0:D5}", number);
Or:
string x = $"T{number:D5}";




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Padding a string with integers on its right keeping string length fixed Pin
#realJSOP15-Jul-20 4:52
mva#realJSOP15-Jul-20 4:52 
GeneralRe: Padding a string with integers on its right keeping string length fixed Pin
Richard Deeming15-Jul-20 4:53
mveRichard Deeming15-Jul-20 4:53 
GeneralRe: Padding a string with integers on its right keeping string length fixed Pin
#realJSOP15-Jul-20 4:57
mva#realJSOP15-Jul-20 4:57 
GeneralRe: Padding a string with integers on its right keeping string length fixed Pin
Richard Deeming15-Jul-20 5:09
mveRichard Deeming15-Jul-20 5:09 
GeneralRe: Padding a string with integers on its right keeping string length fixed Pin
OriginalGriff15-Jul-20 6:21
mveOriginalGriff15-Jul-20 6:21 
GeneralRe: Padding a string with integers on its right keeping string length fixed Pin
Richard MacCutchan15-Jul-20 6:31
mveRichard MacCutchan15-Jul-20 6:31 
GeneralRe: Padding a string with integers on its right keeping string length fixed Pin
OriginalGriff15-Jul-20 6:37
mveOriginalGriff15-Jul-20 6:37 
GeneralRe: Padding a string with integers on its right keeping string length fixed Pin
#realJSOP16-Jul-20 0:45
mva#realJSOP16-Jul-20 0:45 
GeneralRe: Padding a string with integers on its right keeping string length fixed Pin
Daniel Pfeffer16-Jul-20 2:15
professionalDaniel Pfeffer16-Jul-20 2:15 
QuestionZkteco get device operation logs Pin
Member 1488936814-Jul-20 8:45
MemberMember 1488936814-Jul-20 8:45 
AnswerRe: Zkteco get device operation logs Pin
OriginalGriff14-Jul-20 9:21
mveOriginalGriff14-Jul-20 9:21 
AnswerRe: Zkteco get device operation logs Pin
ZurdoDev15-Jul-20 7:16
professionalZurdoDev15-Jul-20 7:16 
QuestionTelegram.Bot doesn't invoke Bot.OnMessage Pin
SezzRS14-Jul-20 8:35
MemberSezzRS14-Jul-20 8:35 
AnswerRe: Telegram.Bot doesn't invoke Bot.OnMessage Pin
ZurdoDev15-Jul-20 7:17
professionalZurdoDev15-Jul-20 7:17 
AnswerRe: Former English teacher solves a math problem with Python. Pin
Pete O'Hanlon13-Jul-20 22:22
mvePete O'Hanlon13-Jul-20 22:22 
AnswerRe: Former English teacher solves a math problem with Python. Pin
OriginalGriff13-Jul-20 22:50
mveOriginalGriff13-Jul-20 22:50 
QuestionActive Directory Question Pin
Kevin Marois13-Jul-20 11:15
professionalKevin Marois13-Jul-20 11:15 

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.