about external methods

  • Thread starter Thread starter carlos medina
  • Start date Start date
C

carlos medina

following the C# specification:

"Use the extern modifier in a method declaration to indicate that the method is implemented externally. A common use of the extern modifier is with the DllImport attribute."

"When an external method includes a DllImport attribute, the method declaration must also include a static modifier."

Somebody can tell me or give me an example or url that shows me how implement extern modifier without the DllImport attribute ????? Is possible to use the extern modifier if the static modifier isn't ??

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top