I need to arrange sort of dictionary where the key would be a pair of enum and int and value is object. So I want to map a pair to some object.
One option would be <
If you are using C# 4.0, you could use the Tuple class.
var key = Tuple.Create(SomeEnum.Value1, 3);