C
C#15mo ago
celly ツ

❔ Some help with this problem that I'm working on

Hey! So i've got this problem where I'm trying to figure out the # of words that are not anagrams of other words in a list of words (read prompt). However, I can't seem to figure out why I'm in a pickle with my code --> how do i insert the lists into the console input
9 Replies
Angius
Angius15mo ago
how do i insert the lists into the console input
Could you elaborate? Do you want to store user inputs in a list?
celly ツ
celly ツOP15mo ago
I'm just wondering if i'm taking in the list of the words correctly I dont actually think i am taking in the words, and thus nothing is getting stored into the dictinoary, but I'm unsure as to how to implement it
Angius
Angius15mo ago
Well, yeah, I don't see you taking any input from the user
celly ツ
celly ツOP15mo ago
Would the simplest way be to open up a console box with console.readline?
Angius
Angius15mo ago
Yeah, Console.ReadLine() in a loop would be one way to go about it Or a single readline with some word delimiter, like a comma, and then .Split(',')
celly ツ
celly ツOP15mo ago
Oki I'll try working on that. thanks!
Azrael
Azrael15mo ago
$code
MODiX
MODiX15mo ago
To post C# code type the following: ```cs // code here ``` Get an example by typing $codegif in chat If your code is too long, post it to: https://paste.mod.gg/
Accord
Accord15mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server