Goddammit, C#. Why you gotta be like this. I’m better off with you than with Java, but still, why you gotta do this to me, man? All I want to do is make an ArrayList. It’s not a complex concept. This, shockingly, involves parentheses. Why don’t you expect them? You should expect parentheses more often. They’re a part of life.
public ArrayList partyActivities = new ArrayList();
partyActivities.Add(getDrink);
partyActivities.Add(wistfullyGazeOutWindow);
partyActivities.Add(examineBooks);
public ArrayList targetActivities = new ArrayList();
targetActivities.Add(swapBooks);
targetActivities.Add(drugDrink);
targetActivities.Add(hideInBathroom);
And unity spits out an error on those saying “Unexpected symbol ‘(‘ in class, struct, or interface member declaration” for every open and closed parenthesis, for every Add(); function call.
Goddammit C#.