18 lines
287 B
C#
18 lines
287 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace PepLib
|
|
{
|
|
public static class Generic
|
|
{
|
|
public static void Swap<T>(ref T a, ref T b)
|
|
{
|
|
T c = a;
|
|
a = b;
|
|
b = c;
|
|
}
|
|
}
|
|
}
|