What is a Managed Prototype?

Posted by Vidar on Stack Overflow See other posts from Stack Overflow or by Vidar
Published on 2010-04-09T10:49:21Z Indexed on 2010/04/09 10:53 UTC
Read the original article Hit count: 215

Filed under:
|

I just need clarification on what a managed prototype is.

I think it is a method that uses the DLLImport attribute and has a method like so:

[DllImport("user32.dll")]
        private static extern int MessageBox(IntPtr hWnd, String text, String caption, uint type);

Does it always mean this i.e you must have a DLLImport attribute and then a method signiture which is a private static extern???

Cheers

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET