14 lines
215 B
C#
14 lines
215 B
C#
|
using System;
|
|||
|
|
|||
|
|
|||
|
namespace org.niclasundharald.engine
|
|||
|
{
|
|||
|
public static class ArrayHelper
|
|||
|
{
|
|||
|
public static void Fill<T>(this T[] array,T value){
|
|||
|
for (int n=0;n<array.Length;n++)
|
|||
|
array[n] = value;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|