Exception:索引超出了数组界限。

报错信息 1
IndexOutOfRangeException: 索引超出了数组界限。
StackTrace:
   在 DynamicClass.农历工具.转农历日期(Int32 n)
   在 DynamicClass.农历工具.获取农历节日或日期(DateTime 日期)
   在 DynamicClass.cc.<初始化>d__6.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 DynamicClass.a.<OnWindowCreated>d__a.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.44.23 2025-10-04 10:54 Microsoft Windows NT 10.0.22621.0