M
M
Monile2021-11-28 15:40:37
C++ / C#
Monile, 2021-11-28 15:40:37

How to make several values ​​in a dictionary for 1 key?

How to create a dictionary that has 1 key would have a value equal to 2 more keys that have a value. And how can I access these values ​​to change.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
freeExec, 2021-11-28
@freeExec

Use a list instead of a single value.

G
GavriKos, 2021-11-28
@GavriKos

A dictionary whose value is also a dictionary. For example so.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question