This is known as
Platform Invoke[
^], and is a way of using the system API directly from .NET languages. In this specific case it allows you to use the Windows
SendMessage
function[
^], which is a somewhat advanced topic for a beginner. I would suggest that you stick to pure .NET code until you are fully comfortable with it before moving on to using the Win32 functions.