初始化上传
This commit is contained in:
13
常用工具集/Utility/ICSharpCode.SharpZipLib/Core/EmptyRefs.cs
Normal file
13
常用工具集/Utility/ICSharpCode.SharpZipLib/Core/EmptyRefs.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace ICSharpCode.SharpZipLib.Core
|
||||
{
|
||||
internal static class Empty
|
||||
{
|
||||
internal static class EmptyArray<T>
|
||||
{
|
||||
public static readonly T[] Value = new T[0];
|
||||
}
|
||||
public static T[] Array<T>() => EmptyArray<T>.Value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user