1. J

    How to get an object from a list ?

    hello I'm doing a game and I'm stuck here, I have a collider box created and if I put a bucket in the collider box, it will be added to the List and when I put it away from the collider box it will be removed from List but I need it to fill with dirt in that collider box and I don't know how I...
  2. AndreasPapandreou

    Question Randomized Playlist

    Hello i am new to c# and trying to create some simple programs and one of those is a randomized playlist for spotify. When I run the code I get this error: "Unhandled exception. System.ArgumentOutOfRangeException: Index must be within the bounds of the List. (Parameter 'index') at...
  3. A

    Resolved Cannot implicitly convert type error

    I am trying to fetch certain database values and store them in a datatable. After that I am applying linq to group by all the data with account number. I am storing the final result in a list which is of the following class type - class ListItems { public string accountNumbers...
  4. sipi41

    Please help with List and Generic Method

    Thank you for reading! I'm getting a list of objects (from a dbcontext), then I created a method to pass this list to a Local Function, the method accepts the list but when I try to loop, instead of being able to show the content of my object members I get an error saying: "'T' does not contain...
Top Bottom