Need help with C# value error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Need help with C# value error

So, the first script I've used is working perfectly, but after making some changes I've encountered some problems. Could someone tell me what have I done wrong here? 😐😕 P.S.: I'm sure it's the "=>" operation value that is creating the issue, but I'm not able to figure out the problem. Thanks for the help given!!! 👍😀 First (and working) script: https://code.sololearn.com/cnkM22Er3S0K/?ref=app The wrong script: https://code.sololearn.com/ctzLblJykFg5/?ref=app ------------------------------------------------------------------

10th Aug 2018, 5:52 PM
HackLoad™
HackLoad™ - avatar
3 Answers
+ 1
In every conditional statement you make a lambda instead of comparison. In the last statement you should place double "=". Here's the code with corrections. https://code.sololearn.com/cHw5384buygq/?ref=app
10th Aug 2018, 6:14 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 2
Thanks!!
10th Aug 2018, 7:50 PM
HackLoad™
HackLoad™ - avatar
+ 1
Dadox DJ a minor mistake that is, just change => with >= and you'll get it done : )
10th Aug 2018, 6:01 PM
Ipang