14 lines
206 B
C#
14 lines
206 B
C#
using System;
|
|
|
|
|
|
namespace org.budnhead.core
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|