mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-14 13:45:10 +00:00
13 lines
284 B
C#
13 lines
284 B
C#
|
using System;
|
||
|
|
||
|
namespace Starpelly.Properties
|
||
|
{
|
||
|
public static class Arrays
|
||
|
{
|
||
|
public static void Push<T>(ref T[] table, object value)
|
||
|
{
|
||
|
Array.Resize(ref table, table.Length + 1);
|
||
|
table.SetValue(value, table.Length - 1);
|
||
|
}
|
||
|
}
|
||
|
}
|