I have a dictionary with the value being a list that contains VariableList objects like so
public VariableList { public string VariableName; public bool VariableBoolean; } Dictionary<string, List<VariableList>> myVariableDictionary; How would I assign this Dictionary with multiple keys including all the objects in the List in one statement without using Add?
StudentNameis different to an instance ofList<VariableList>in the context of instantiating a dictionary? That's in the answer here. Or how is aList<int>different to aList<VariableList>(example here)? If you can explain a substantial way that these are different, I'll gladly reopen your question, but there isn't really a difference here.