示例#1
0
 /// <summary>
 /// 將輸入陣列填滿指定的值
 /// </summary>
 /// <param name="obj">陣列實例</param>
 /// <param name="value">指定數值</param>
 public static void Full(this Array obj, object value)
 {
     foreach (var index in obj.GetAllIndexes())
     {
         obj.SetValue(value, index);
     }
 }