JD2022-TU1/main/tools/framework/JD.Collections/Utilities/EmptyArray.cs

10 lines
No EOL
228 B
C#

namespace JD.Collections.Utilities
{
/// <summary>
/// A shared pointer to an empty array.
/// </summary>
public static class EmptyArray<T>
{
public static readonly T[] Instance = new T[0];
}
}