I am not sure what you mean by "dynamic". If you mean adding items to a dictionary at runtime, it is as easy as dictionary[key] = value
.
If you wish to create a dictionary with key,value to start with (at compile time) then use (surprise!)
dictionary[key] = value