Using pointers as generic a generic type

I'm trying to make an ArrayList of Bool Pointers, but ArrayList doesn't support Pointers (CS0306), any idea how to handle that? (Also please ask if you would need more information, I'm new here and don't work with people on Code often)
1 Reply
SaltInPerson
SaltInPersonOP2y ago
I want a delegate function to change a value at a certain point, but that value is stored in an ArrayList and may move, so i'd just put a pointer to the value in the ArrayList, i know that's probably way to complicated, but it's for a Project for University and really funny if i'd work i got it already Some body on another channel suggested IntPtr, works now, thanks to anybody reading this anyway
Want results from more Discord servers?
Add your server