Click here to Skip to main content
14,837,944 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to replace every different char with another given char Pin
BillWoodruff26-May-19 22:08
mveBillWoodruff26-May-19 22:08 
GeneralRe: How to replace every different char with another given char Pin
OriginalGriff26-May-19 22:22
mveOriginalGriff26-May-19 22:22 
GeneralRe: How to replace every different char with another given char Pin
BillWoodruff26-May-19 22:55
mveBillWoodruff26-May-19 22:55 
GeneralRe: How to replace every different char with another given char Pin
Member 798912229-May-19 4:52
MemberMember 798912229-May-19 4:52 
GeneralRe: How to replace every different char with another given char Pin
OriginalGriff29-May-19 5:08
mveOriginalGriff29-May-19 5:08 
GeneralRe: How to replace every different char with another given char Pin
lmoelleb26-May-19 8:40
Memberlmoelleb26-May-19 8:40 
AnswerRe: How to replace every different char with another given char Pin
Luc Pattyn25-May-19 19:16
sitebuilderLuc Pattyn25-May-19 19:16 
AnswerRe: How to replace every different char with another given char Pin
Member 798912229-May-19 5:01
MemberMember 798912229-May-19 5:01 
Coding discussions like these brings up the nostalgia in me, about the old days of Pascal, where array indexes could be of arbitrary discrete types, arbitrary lower and upper limits. Like an array indexed from 'a' through 'z'.

And also: Discrete types have a natural ordering, not because they "really are integers", because they are not. Succ('a') is 'b', without casting to int, increment and cast back. Wednesday follows Tuesday. And so on.

Proper handing of enums and discrete subrange types is near the top of my wish list for future C# versions. They could do it in Pascal 49 years ago; it should be possible to do in C# today. But it seems like I am the only one missing it. (Or maybe: One of the very few to know that once it existed.)
QuestionFloating Point Calculations - c# vs. c++ Pin
User 1106097922-May-19 6:50
MemberUser 1106097922-May-19 6:50 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
harold aptroot22-May-19 7:00
Memberharold aptroot22-May-19 7:00 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
User 1106097922-May-19 7:24
MemberUser 1106097922-May-19 7:24 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
CPallini22-May-19 23:01
mveCPallini22-May-19 23:01 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
User 1106097923-May-19 8:38
MemberUser 1106097923-May-19 8:38 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
Member 798912229-May-19 5:21
MemberMember 798912229-May-19 5:21 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
User 1106097929-May-19 5:42
MemberUser 1106097929-May-19 5:42 
AnswerRe: Floating Point Calculations - c# vs. c++ Pin
#realJSOP24-May-19 0:07
mva#realJSOP24-May-19 0:07 
GeneralRe: Floating Point Calculations - c# vs. c++ Pin
User 1106097924-May-19 5:40
MemberUser 1106097924-May-19 5:40 
QuestionPython str.extract to c# (regex?) Pin
Member 1441807322-May-19 2:15
MemberMember 1441807322-May-19 2:15 
AnswerRe: Python str.extract to c# (regex?) Pin
Nathan Minier22-May-19 2:40
professionalNathan Minier22-May-19 2:40 
GeneralRe: Python str.extract to c# (regex?) Pin
Member 1441807323-May-19 3:56
MemberMember 1441807323-May-19 3:56 
QuestionComboBox not refreshing error. Pin
Khandkar Asif Hossain21-May-19 9:20
MemberKhandkar Asif Hossain21-May-19 9:20 
AnswerRe: ComboBox not refreshing error. Pin
Richard Deeming21-May-19 9:28
mveRichard Deeming21-May-19 9:28 
GeneralRe: ComboBox not refreshing error. Pin
Khandkar Asif Hossain22-May-19 7:40
MemberKhandkar Asif Hossain22-May-19 7:40 
AnswerRe: ComboBox not refreshing error. Pin
Luc Pattyn21-May-19 9:36
sitebuilderLuc Pattyn21-May-19 9:36 
QuestionResize all controls on a user control or form automatically with changing of user control or form Pin
Member 1332584617-May-19 16:47
MemberMember 1332584617-May-19 16:47 

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.