ObjectHelper.cs 140 B

12345678910
  1. namespace ET
  2. {
  3. public static class ObjectHelper
  4. {
  5. public static void Swap<T>(ref T t1, ref T t2)
  6. {
  7. (t1, t2) = (t2, t1);
  8. }
  9. }
  10. }