public static void Main()
var str = EmptyArray<string>.Instance;
var intTest = EmptyArray<int>.Instance;
var intTest1 = EmptyArray<int>.Instance;
var str1 = EmptyArray<string>.Instance;
Console.WriteLine(str.GetType());
Console.WriteLine(intTest.GetType());
if (Object.ReferenceEquals(str, str1))
Console.WriteLine("References are equals");
if (Object.ReferenceEquals(intTest, intTest1))
Console.WriteLine("References are equals");
if (Object.ReferenceEquals(intTest, str))
Console.WriteLine("References are equals");
if (Object.ReferenceEquals(i, j))
if (object.ReferenceEquals(i, s))
public static class EmptyArray<T>
public static readonly T[] Instance;