Advertisement
Pro_Unit

DataPair.cs

Jun 4th, 2025
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.22 KB | None | 0 0
  1. [Serializable]
  2. public struct DataPair<TKey, TValue>
  3. {
  4.     public TKey Key;
  5.     public TValue Value;
  6.  
  7.     public void Deconstruct(out TKey key, out TValue value)
  8.     {
  9.         key = Key;
  10.         value = Value;
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement