Let's say that I have the following string
Type="Category" Position="Top" Child="3" ABC="XYZ"....
And 2 regex groups: Key and Value
Key: "Type", "Position", "Child",...
Value: "Category", "Top", "3",...
How can we combine these 2 captured groups into key/value pair object like Hashtable?
Dictionary["Type"] = "Category";
Dictionary["Position"] = "Top";
Dictionary["Child"] = "3";
...