First commit.
This commit is contained in:
12
Source/OpenNest.Core/Generic.cs
Normal file
12
Source/OpenNest.Core/Generic.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace OpenNest
|
||||
{
|
||||
public static class Generic
|
||||
{
|
||||
public static void Swap<T>(ref T a, ref T b)
|
||||
{
|
||||
T c = a;
|
||||
a = b;
|
||||
b = c;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user