Skip to content

Instantly share code, notes, and snippets.

@Busata
Created October 21, 2018 18:52
Show Gist options
  • Save Busata/5c086d5eeb5de0752cfb3536193b675f to your computer and use it in GitHub Desktop.
Save Busata/5c086d5eeb5de0752cfb3536193b675f to your computer and use it in GitHub Desktop.
public class PopFromStack<T> : Action
{
private BBKey<List<T>> _items;
private BBKey<T> _item;
public PopFromStack(BBKey<List<T>> items, BBKey<T> item)
{
_items = items;
_item = item;
}
}
//----------
BBKey<List<Inventory>> list;
BBKey<Inventory> item;
new PopFromStack(list, item); // "incorrect number of type parameters in reference to class PopFromStack<T>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment