TahaA
TahaA
CC#
Created by TahaA on 6/24/2024 in #help
✅ where constraint on interface method
How do I close this thread?
22 replies
CC#
Created by TahaA on 6/24/2024 in #help
✅ where constraint on interface method
Nvm I read the instructions wrong
22 replies
CC#
Created by TahaA on 6/24/2024 in #help
✅ where constraint on interface method
Yeah I was also confused because of how c wasn't uppercase.
22 replies
CC#
Created by TahaA on 6/24/2024 in #help
✅ where constraint on interface method
That's what I thought, too. That's why I didn't do it on the endterm, took my 1.3 points out of 2, so I missed 0.7 because of that. Seems like some teacher made the exam without either checking it himself or let another check. Too condfident in their code and not doing their job right.
22 replies
CC#
Created by TahaA on 6/24/2024 in #help
✅ where constraint on interface method
That's what I thought. I asked because I just came back from my endterm exam where they demanded that we used it like that.
22 replies
CC#
Created by TahaA on 6/24/2024 in #help
✅ where constraint on interface method
The name of the method is Refuel() ofc
22 replies
CC#
Created by TahaA on 5/20/2024 in #help
Is implementing ICloneable in unittests worthless?
It is likely that no one will read this anymore, but that makes it all the more funnier. So the reason Deepcloning didn't work was because I was working in a Mock environment. I was mocking File I/O but instead of loading the mocked file I was loading the original file, which means I was returning the same objects, so I was changing the same returned object as well 😭
2 replies
CC#
Created by TahaA on 5/15/2024 in #help
Comments in curried lambda expression
yeah I know, but I was asking because this was part of a classroom assignment. It worked but I didn't know why it worked, so I was asking to be sure
8 replies
CC#
Created by TahaA on 5/15/2024 in #help
Comments in curried lambda expression
I see. Thanks
8 replies
CC#
Created by TahaA on 5/15/2024 in #help
Comments in curried lambda expression
understandable, that's the struggle with code that's put into one line as much as possible
8 replies
CC#
Created by TahaA on 5/12/2024 in #help
Can't retrieve data because of JsonIgnore
5 replies