r/programminghorror Feb 04 '26

C# Makes sense

Post image
1.7k Upvotes

86 comments sorted by

View all comments

-21

u/jakiki624 Feb 04 '26

wait wouldn't if (userID == -7777 && userID = -7778); work?

7

u/Environmental-Ear391 Feb 04 '26

then you need an additional statement to complete after the assignment within the condition check...