As with LaGrandMere, you can use System.Tuple if you are using .NET 4.0 or later:
Tuple<int,string> key = Tuple.Create(0, "Test");
Also note that if you put strings, ints, etc. as keys in dictionaries, you have to make a special case that it would be NULL in SQL. Cannot have a null key in the dictionary.
var dict = new Dictionary<Tuple<string, int>, string>();
var address1 = Tuple.Create("5th Avenue",15);
var address2 = Tuple.Create("5th Avenue",25);
var address3 = Tuple.Create("Dag Hammarskjölds väg", 4);
dict[address1] = "Donald";
dict[address2] = "Bob";
dict[address3] = "Kalle";
int number = Int32.Parse("25");
var addressKey = Tuple.Create("5th Avenue",number);
string name = dict[addressKey];
source
share