Just define a struct/class.
[Serializable]
public struct KeyValuePair<K,V>
{
public K Key {get;set;}
public V Value {get;set;}
}
More Related Contents:
- What is the difference between String and string in C#?
- save data from 2 forms and show it in a 3rd form c# [closed]
- Finding the default application for opening a particular file type on Windows
- ServiceStack Request DTO design
- format date in c#
- Splitting a string / number every Nth Character / Number?
- With block equivalent in C#?
- Is String.Contains() faster than String.IndexOf()?
- How can I read user input from the console?
- Entity Framework/Linq EXpression converting from string to int
- Handling exceptions, is this a good way?
- what is relation between GC, Finalize() and Dispose?
- In C# what is the difference between ToUpper() and ToUpperInvariant()?
- What is the use for Task.FromResult in C#
- Difference between Lookup() and Dictionary(Of list())
- How to convert an expression tree to a partial SQL query?
- Capture screen on server desktop session
- Why is double.NaN not equal to itself?
- Process.Start to open an URL, getting an Exception?
- Size of A Class (object) in .NET
- How do I resolve “Please make sure that the file is accessible and that it is a valid assembly or COM component”?
- BindingList.Sort() to behave like a List.Sort()
- How to use c# Dll in vc++?
- Does FileStream.Dispose close the file immediately?
- Is there a tool that generates P/Invoke signatures for arbitrary unmanaged DLL?
- Automatically making Base Constructors available in derived class?
- Dynamically loading resource dictionary files to a wpf application gives an error
- Create a completed Task
- Why can’t I do foreach (var Item in DataTable.Rows)?
- Is there a way to create a second console to output to in .NET when writing a console application?