.NET Fiddle

CSharp · Console

/Program.cs

using System;

public class Program
{
	public static void Main()
	{
		Console.WriteLine(IFoo.Test());
	}
}

public interface IFoo
{
	static int Test() => 5;
}
;