.NET Fiddle

CSharp · Console

/Program.cs

using System;
				
 	public class MyType {
 		public bool DoIt() {
 			return true;
 		}
 		void OtherMethods() {
 			
 		}
 	} 
 	public class MyWrapper : IVM {
 		public bool DoIt() {
 			return mt.DoIt();
 		}
 		MyType mt = new MyType();
 		
 	} 
 	public interface IVM { bool DoIt();}


public class Program
{
	public static bool DSL(IVM ivm) {
 		return !ivm.DoIt();
 	}
	public static void Main()
	{
		Console.WriteLine("Hello World");
		Console.WriteLine(
 				"dsl " +
 				DSL(new MyWrapper(
))
 				);
		
	}
}
;