Fixed bugs

This commit is contained in:
2020-09-26 20:49:09 +02:00
parent b21781edde
commit 1811ea5a1a
7 changed files with 38 additions and 14 deletions

View File

@ -0,0 +1,13 @@
// ReSharper disable once CheckNamespace
namespace System.Collections.Generic
{
public static class KeyValueExtensions
{
public static void Deconstruct<TKey, TValue>(this KeyValuePair<TKey, TValue> keyValuePair, out TKey key,
out TValue value)
{
key = keyValuePair.Key;
value = keyValuePair.Value;
}
}
}