私はこのリッチテキストボックスとしましょう
teddyinwonderland
KristinaAlex33
MariamPetkova
VladislavMladenov
Odanessy
tvatieigrata
VaninaDimova
LillyRadevaa
disbalanced
AdriyanMinchev
vampirelove
blqblqlq
jakitoo
AdriyanMinchev
LillyRadevaa
ToshkoPulov
MaqGeorgieva
katiiig
NataliaNikolova393
Mila1305
pyfpafpyfpaf
GabriiellaDobreWa
galiinkaa
paffwinchester06
AlexFlip
iskocetegi
AdriyanMinchev
LillyRadevaa
ToshkoPulov
MaqGeorgieva
katiiig
NataliaNikolova393
Mila1305
pyfpafpyfpaf
GabriiellaDobreWa
galiinkaa
paffwinchester06
AlexFlip
iskocetegi
AdriyanMinchev
LillyRadevaa
ToshkoPulov
MaqGeorgieva
katiiig
NataliaNikolova393
Mila1305
pyfpafpyfpaf
GabriiellaDobreWa
galiinkaa
paffwinchester06
AlexFlip
iskocetegi
AchyyWee
simeonov91
DavidWilla
teddyinwonderland
katiiig
VladislavMladenov
AtanasVirishapkov
yeahhx
MartinaPetrowa855
GizemYasinAlaca
IOANAAAAA
yonii9
Odanessy
AchyyWee
simeonov91
DavidWilla
teddyinwonderland
katiiig
VladislavMladenov
AtanasVirishapkov
yeahhx
MartinaPetrowa855
GizemYasinAlaca
IOANAAAAA
yonii9
Odanessy
AchyyWee
simeonov91
DavidWilla
teddyinwonderland
katiiig
VladislavMladenov
AtanasVirishapkov
yeahhx
MartinaPetrowa855
GizemYasinAlaca
IOANAAAAA
yonii9
Odanessy
AchyyWee
simeonov91
DavidWilla
teddyinwonderland
katiiig
VladislavMladenov
AtanasVirishapkov
yeahhx
MartinaPetrowa855
GizemYasinAlaca
IOANAAAAA
yonii9
Odanessy
重複を削除したいのですが、方法がわかりません。
で試しました
var asd = richtextbox1.Text.Distinct().ToList()/ToArray();
foreach (string s in asd)
{
richtextbox1.text = richtextbox1.text + s;
}
他の無意味なことをいくつか試しましたが、何も役に立ちませんでした。これから、奇妙な結果が得られています。