I have a question about Linq / Lambda and the following issue:
I have two dictionaries, primary and secondary... These two dictionaries are defined as Key=string, Va
You can still use primaryDict within your Linq statement since you are creating a new dictionary, which only gets assigned to your variable once it is created:
primaryDict
resultDict = primaryDict.Keys .Intersect(secondaryDict.Keys) .ToDictionary(t => t, primaryDict[t]);