一直报错 但是能运行 有人帮帮我吗
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at TodayIsland.LunarDateControl.ConvertToChinese(Int32 number) in C:\Users\12194\Desktop\Projects\RiderProjects\TodayIsland\TodayIsland\LunarDate.xaml.cs:line 72
at TodayIsland.LunarDateControl.<LoadLunarDateAsync>b__1_0() in C:\Users\12194\Desktop\Projects\RiderProjects\TodayIsland\TodayIsland\LunarDate.xaml.cs:line 43
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at TodayIsland.LunarDateControl.LoadLunarDateAsync() in C:\Users\12194\Desktop\Projects\RiderProjects\TodayIsland\TodayIsland\LunarDate.xaml.cs:line 27
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)