I have written this code in VB and I believe I am missing something but can't find my mistake, thanks for a friend for showing me this site.

#pragma comment(lib, "User32.lib")

#include "windows.h"
using namespace System;
using namespace System::Windows::Forms;

public ref class Script
{
    public: 
        static void Main()
        {
            Console::WriteLine(L"Hello World! (C++)")
            MessageBoxA(0, "Hello World! (C++)", "Non-Managed", 0);
            MessageBox::Show("Hello World! (C++)", "Managed");
        }
};