Advertisement
Heretiiik

Untitled

Nov 6th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. public static string Method<T1, T2, T3>(this (T1, T2, T3) value)
  2. {
  3.     return string.Format("{0}; {1}; {2}", value.Item1, value.Item2, value.Item3);
  4. }
  5.  
  6. public static (T2, T3, T1) Method2<T1, T2, T3>(this (T1, T2, T3) value)
  7. {
  8.     return (value.Item2, value.Item3, value.Item1);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement