What are the relative costs for the different types of method calls in .NET Compact Framework applications?
Having a mental model of the relative costs of various types of method calls can help you make design tradeoffs that will result in better performing applications. The following bullet points summarize how the costs of various types of calls related: Instance calls are ~2-3X the cost of a native function call Virtual calls are ~1.5X the cost of a managed instance call. See the entry above about virtual method costs for more details. Platform invoke and COM calls are ~5-6X the cost of managed instance call (this data is passed on calling a method that requires the marshaling of a single int parameter). See the entry below about platform invoke costs for more details.