Added BYOND instalation and started work on Repo management and updates.
This commit is contained in:
17
ASS.Server/Extensions/ArrayExtension.cs
Normal file
17
ASS.Server/Extensions/ArrayExtension.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace ASS.Server.Extensions
|
||||
{
|
||||
public static class ArrayExtension
|
||||
{
|
||||
public static T[] PreAppend<T>(this T[] array, params T[] toAppend)
|
||||
{
|
||||
var n = new T[toAppend.Length + array.Length];
|
||||
toAppend.CopyTo(n, 0);
|
||||
array.CopyTo(n, toAppend.Length);
|
||||
return n;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user