Is there a dictionary available in .NET that could hold 2 keys and one value. Like
.NET
Dictionary(Of TKey, Of TKey, TValue)
I have
If you are using C# 7.0 the best way to do this is to use tuple types and literals:
// Declare var dict = new Dictionary<(string, long), long>(); // Add dict.Add(("abc", 345), 111); // Get var searchedValue = dict[("abc", 345)];