I have an object
Dictionary<int,> temp = new Dictionary<int,>();
The values in temp are:
1 s1
s2
s3
2 s1
s2
I want to transform it into object
Dictionary<string,int[]> temp = new Dictionary< String,int[]>();
So i want final o/p as
s1 1
2
s2 1
2
s3 1
[Update]
(On behalf of the OP)
@CPillani.. ur code working cool thanks
If the input,o/p type changed as follows.. please update ur code ..
i/p = Dictionary<uri,> d1 = new Dictionary<uri,>();
o/p = Dictionary<string[],> socialTermUriNew = new Dictionary<string[],>();
[/Update]