namespace AlicizaX { public struct Pair { public T1 Key { get; set; } public T2 Value { get; set; } public bool IsAssigned => Key != null && Value != null; public Pair(T1 key, T2 value) { Key = key; Value = value; } } }