Ziomek64
❔ A property is changed even though it shouldn't?
This is driving me absolutely bonkers but something weird is going on.
I'm making a local variable at the beginning to which I assign data from apiListData. I'm making some changes on that local variables, especially that foreach (var x in filtered) which filters data. When I do debug point on that console.writeline apiListData from the beginning which was accessed only is affected even though it shouldn't. And don't mind second local variable, I was doing it only to avoid this weird situation Whole .cs - https://pastebin.com/4pezNHzB
apiListData is just raw data that I'm assigning in Refresh task to keep it for filtering purposes.
59 replies