using System.Runtime.InteropServices; using System; class X { [DllImport (null)] extern static void Blah (); static void Main (string [] args) { } }