© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
9 replies
Theos

❔ Adjust lists

Hey, so I have
enum AIType { heor, courier, scout }
enum AIType { heor, courier, scout }


class Unit
{
  public AIType aiType;
}


class Player
{
  List<Unit> units;
}
class Unit
{
  public AIType aiType;
}


class Player
{
  List<Unit> units;
}


class Settings
{
  List<AIType> neededUnits;
}
class Settings
{
  List<AIType> neededUnits;
}
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ Lists
C#CC# / help
3y ago
❔ Lists
C#CC# / help
4y ago
❔ ✅ C# lists
C#CC# / help
3y ago
✅ EntityFrameworkCore lists
C#CC# / help
4y ago