Hi! Been trying to learn C# for a month now, new to programming in general.
Right now, on this project, I have a List<Item> called Inventory. I want to filter every item in this list that inherits from the class Weapon into a new list called weaponlist.
The first thing I tried was
var...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.