user name /\ | message | ||
10bag |
c# has changed much? | ||
mystiksoda |
cool an answer from 2009 | ||
10bag |
with some kerbal every 3 or 4 years | ||
10bag |
@tariq_smells he's the racist company of heroes player and self righteous unused phd highly qualified programmer | ||
capricciosa |
Fallout 76 also | ||
10bag |
4Head | ||
tariq_smells |
wait i follow you from before but don't recognize you did u stream something else beofre | ||
10bag |
https://stackoverflow.com/questions/1620410/regex-replace-string-replace-or-stringbuilder-replace-which-is-the-fastest | ||
mystiksoda |
hmm lets make this simpler, can i discord voice chat with you? | ||
10bag |
maybe with code example | ||
10bag |
can you explain your take on this regex again | ||
mystiksoda |
oh yeah u can do it that way as well | ||
mystiksoda |
default* | ||
mystiksoda |
oh u meant the dafault vaule in the parameter? | ||
mystiksoda |
i missed nothing | ||
mystiksoda |
no | ||
mystiksoda |
public TwitchUser () { Username = \"somename\"; Id = 1234; ... etc} | ||
mystiksoda |
something along the lines of | ||
mystiksoda |
yes u can make a default constructor | ||
mystiksoda |
oh u mean constructor | ||
mystiksoda |
yes | ||
capricciosa |
okay | ||
mystiksoda |
users.FirstOrDefault (u => u.Username == user.Username) | ||
mystiksoda |
ok then its simple | ||
mystiksoda |
does your TwitchUser class have any unique property that identifies that user ? | ||
mystiksoda |
ok | ||
mystiksoda |
is that what u want? | ||
mystiksoda |
users.Find (u => u == user) | ||
10bag |
man was there troubleshooting pleb users python installations and wondering why nothing worked | ||
10bag |
that was a funny couple of months |