Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (20 sloc) 314 Bytes
public interface IHelloWorldWriter
{
int WriteIt();
}
public class RealWriter : IHelloWorldWriter
{
public int WriteIt()
{
return 33;
}
}
public class ProjectName {
static int Main()
{
IHelloWorldWriter writer = new RealWriter();
if (writer.WriteIt() != 33)
return 1;
return 0;
}
}
Something went wrong with that request. Please try again.