C#C
C#3w ago
hutonahill

✅ Value doubles when assigned to a variable

public IDeckStorage BuildDeckStorage(
        ISet<ICardStorage> main,
        ISet<ICardStorage> discard, ISet<ICardStorage> active
    ) {
        
        DeckStorage output =  new DeckStorage {
            Main = main,
            Discard = discard,
            Active = active
        };
        return output;
    }


a ISet<ICardStorage> is basically a dictionary, but compatible with SQLite and EFCore. ICardStorage is a card type and a count of the number of cards. cards.

continueing below:
Was this page helpful?