Click here to Skip to main content
14,358,929 members
   

C#

 
GeneralRe: How to replace every different char with another given char Pin
OriginalGriff26-May-19 4:09
protectorOriginalGriff26-May-19 4:09 
GeneralRe: How to replace every different char with another given char Pin
BillWoodruff26-May-19 23:08
mveBillWoodruff26-May-19 23:08 
GeneralRe: How to replace every different char with another given char Pin
OriginalGriff26-May-19 23:22
protectorOriginalGriff26-May-19 23:22 
GeneralRe: How to replace every different char with another given char Pin
BillWoodruff26-May-19 23:55
mveBillWoodruff26-May-19 23:55 
GeneralRe: How to replace every different char with another given char Pin
Member 798912229-May-19 5:52
memberMember 798912229-May-19 5:52 
GeneralRe: How to replace every different char with another given char Pin
OriginalGriff29-May-19 6:08
protectorOriginalGriff29-May-19 6:08 
GeneralRe: How to replace every different char with another given char Pin
lmoelleb26-May-19 9:40
memberlmoelleb26-May-19 9:40 
AnswerRe: How to replace every different char with another given char Pin
Luc Pattyn25-May-19 20:16
professionalLuc Pattyn25-May-19 20:16 
With a little LINQ magic:
string outputString = new string(inputString.Select(c => (c >= 'a' && c <= 'z' ?
(char)('a' + (c - 'a' + 1) % 26) : c)).ToArray());


Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

AnswerRe: How to replace every different char with another given char Pin
Member 798912229-May-19 6:01
memberMember 798912229-May-19 6:01 
QuestionFloating Point Calculations - c# vs. c++ Pin
0x01AA22-May-19 7:50
professional0x01AA22-May-19 7:50 
GeneralRe: Floating Point Calculations - c# vs. c++ PinPopular
harold aptroot22-May-19 8:00
memberharold aptroot22-May-19 8:00 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
0x01AA22-May-19 8:24
professional0x01AA22-May-19 8:24 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
CPallini23-May-19 0:01
mveCPallini23-May-19 0:01 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
0x01AA23-May-19 9:38
professional0x01AA23-May-19 9:38 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
Member 798912229-May-19 6:21
memberMember 798912229-May-19 6:21 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
0x01AA29-May-19 6:42
professional0x01AA29-May-19 6:42 
AnswerRe: Floating Point Calculations - c# vs. c++ Pin
#realJSOP24-May-19 1:07
mve#realJSOP24-May-19 1:07 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
0x01AA24-May-19 6:40
professional0x01AA24-May-19 6:40 
QuestionPython str.extract to c# (regex?) Pin
Member 1441807322-May-19 3:15
memberMember 1441807322-May-19 3:15 
AnswerRe: Python str.extract to c# (regex?) Pin
Nathan Minier22-May-19 3:40
professionalNathan Minier22-May-19 3:40 
GeneralRe: Python str.extract to c# (regex?) Pin
Member 1441807323-May-19 4:56
memberMember 1441807323-May-19 4:56 
QuestionComboBox not refreshing error. Pin
Khandkar Asif Hossain21-May-19 10:20
memberKhandkar Asif Hossain21-May-19 10:20 
AnswerRe: ComboBox not refreshing error. Pin
Richard Deeming21-May-19 10:28
mveRichard Deeming21-May-19 10:28 
GeneralRe: ComboBox not refreshing error. Pin
Khandkar Asif Hossain22-May-19 8:40
memberKhandkar Asif Hossain22-May-19 8:40 
AnswerRe: ComboBox not refreshing error. Pin
Luc Pattyn21-May-19 10:36
professionalLuc Pattyn21-May-19 10:36 

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.