Is there an easier way to declare & use API in C# than importing the DLL like so?

Code:
[DllImport("DLL", EntryPoint="blah...")]
blah blah blah MessageBox(blah...);

Thanks,
Sir Loin