Im new to C# and im kinda stuck here. Please help
I was trying to use C# to solve some math riddle, can somebody check out why isnt it working
![No description](https://cdn.answeroverflow.com/1244649333178110033/image.png)
5 Replies
Comparisons should use the
==
operator. In this current state, the single equal is trying to assign a value to myNumner % 2
which isn't something that can be assigned (not a variable)Perform basic operations on numbers in C# - Training
Learn the operators and techniques used to perform basic math operations on numeric data.
I definitely encourage you to take the C# training Microsoft offers & watch their playlist too 🔥
YouTube
C# for Beginners
Join Scott Hanselman and .NET Distinguished Engineer David Fowler as they teach us C# from the ground up! From Hello World to LINQ and more, Scott and David ...
![From An unknown user](https://images-ext-1.discordapp.net/external/08wDRcI2A0O4yDj99Pya7r7Sj0FDyrVCFRocvfPR3us/%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLCx30euMRF9ALpPo5VyAmLq-Lb3RQ%26days_since_epoch%3D19870/https/i.ytimg.com/vi/9THmGiSPjBQ/hqdefault.jpg)
Tysm