Static and non-static interface member calls in .NET: they are not the same

Context

A short review of method calls

Direct method calls

Virtual method calls

Interface method calls

The case of SAIM

Open generic context

Closed generic context

Benchmarks!

StaticOrNonStatic

SingleTypeOrMultiTypes

Summary

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store