Click here to Skip to main content
14,743,194 members
Home » Discussions » C#
   

C#

 
AnswerRe: c# stupid severe issue loop ! Pin
Richard MacCutchan13-Sep-20 5:06
mveRichard MacCutchan13-Sep-20 5:06 
AnswerRe: c# stupid severe issue loop ! Pin
OriginalGriff13-Sep-20 5:06
mveOriginalGriff13-Sep-20 5:06 
AnswerRe: c# stupid severe issue loop ! Pin
harold aptroot13-Sep-20 5:29
Memberharold aptroot13-Sep-20 5:29 
GeneralRe: c# stupid severe issue loop ! Pin
Isawyouoo13-Sep-20 5:55
MemberIsawyouoo13-Sep-20 5:55 
AnswerRe: c# stupid severe issue loop ! Pin
OriginalGriff13-Sep-20 6:18
mveOriginalGriff13-Sep-20 6:18 
GeneralRe: c# stupid severe issue loop ! Pin
harold aptroot13-Sep-20 7:09
Memberharold aptroot13-Sep-20 7:09 
AnswerRe: c# stupid severe issue loop ! Pin
Dave Kreskowiak13-Sep-20 7:00
mveDave Kreskowiak13-Sep-20 7:00 
QuestionUnique correspondence for characters Pin
keeponfalling1213-Sep-20 3:07
Memberkeeponfalling1213-Sep-20 3:07 
I need to determine whether each character in the first string can be uniquely replaced by a character in the second string so that the two strings are equal.

Like this:

for "eef" and "ddg"

Result :

True e => d
f =>g

If I have: "efe" and "ddg" the result is "False" because "e" it has "d" and "g". (strings are equal in length)

I need help with the starting point, I made an array to store the characters from input strings and I was thinking to use IndexOf method after that, to return the indexof each character and compare it with the second string. I'm not sure how to implement this.

modified 13-Sep-20 10:21am.

AnswerRe: Unique correspondence for characters Pin
OriginalGriff13-Sep-20 5:07
mveOriginalGriff13-Sep-20 5:07 
GeneralRe: Unique correspondence for characters Pin
keeponfalling1213-Sep-20 5:22
Memberkeeponfalling1213-Sep-20 5:22 
GeneralRe: Unique correspondence for characters Pin
OriginalGriff13-Sep-20 5:54
mveOriginalGriff13-Sep-20 5:54 
AnswerRe: Unique correspondence for characters Pin
trønderen13-Sep-20 5:33
Membertrønderen13-Sep-20 5:33 
AnswerRe: Unique correspondence for characters Pin
Gerry Schmitz13-Sep-20 6:58
mveGerry Schmitz13-Sep-20 6:58 
GeneralRe: Unique correspondence for characters Pin
keeponfalling1214-Sep-20 5:05
Memberkeeponfalling1214-Sep-20 5:05 
QuestionHow to add Key and MergeField dynamically into WordProcessing document through C# program Pin
Ganapatisb10-Sep-20 23:30
MemberGanapatisb10-Sep-20 23:30 
SuggestionRe: How to add Key and MergeField dynamically into WordProcessing document through C# program Pin
Richard MacCutchan10-Sep-20 23:37
mveRichard MacCutchan10-Sep-20 23:37 
Rant[REPOST]: How to add Key and MergeField dynamically into WordProcessing document through C# program Pin
Richard Deeming10-Sep-20 23:49
mveRichard Deeming10-Sep-20 23:49 
QuestionRe: How to add Key and MergeField dynamically into WordProcessing document through C# program Pin
Eddy Vluggen12-Sep-20 17:02
professionalEddy Vluggen12-Sep-20 17:02 
QuestionFuzzy Icons Pin
Richard Andrew x649-Sep-20 16:38
professionalRichard Andrew x649-Sep-20 16:38 
AnswerRe: Fuzzy Icons Pin
Peter_in_27809-Sep-20 18:05
professionalPeter_in_27809-Sep-20 18:05 
GeneralRe: Fuzzy Icons Pin
Richard Andrew x649-Sep-20 21:40
professionalRichard Andrew x649-Sep-20 21:40 
GeneralRe: Fuzzy Icons Pin
Peter_in_27809-Sep-20 21:46
professionalPeter_in_27809-Sep-20 21:46 
GeneralRe: Fuzzy Icons Pin
Richard Andrew x649-Sep-20 22:02
professionalRichard Andrew x649-Sep-20 22:02 
AnswerRe: Fuzzy Icons Pin
Richard MacCutchan9-Sep-20 22:46
mveRichard MacCutchan9-Sep-20 22:46 
GeneralRe: Fuzzy Icons Pin
Richard Andrew x649-Sep-20 22:52
professionalRichard Andrew x649-Sep-20 22:52 

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.