I am learning C++ .net programming and was wondering why the code for creating a messagebox is
MessageBox.Show("Hello, World!");
in C# and
MessageBox::Show("Hello, World!");
in C++. Why is the dot substituted with a double colon in the C++ code?