C vs C++

Member functiontypical form for class C:
Default constructorC::C();
DestructorC::~C();
Copy constructorC::C (const C&);
Copy assignmentC& operator= (const C&);
Move constructorC::C (C&&);
Move assignmentC& operator= (C&&);
Private Sub Form_Load()
  ' Execute a simple message box that says "Hello, World!"
  MsgBox "Hello, World!"
End Sub
namespace Add_Function  {
     
     }//END      Program
  }//END         Add_Function
Option Explicit On
Dim a, b, c, d, m, n As Integer
Dim x, y As Double
// all types of variables must be declared
int a,b,c,d,m;
double x,y;
result = IIf(5 < 10, "Yes it is", "No it isn't")
result = (5 < 10) ? "Yes it is" : "No it isn't";
Dim count As Integer = 0
Dim message As String
If count = 0 Then
    message = "There are no items." 
ElseIf count = 1 Then
    message = "There is 1 item." 
Else
    message = "There are " & count & " items." 
End If)
result = (5 < 10) ? "Yes it is" : "No it isn't";
And Or Xor Not <> = AndAlso OrElse object.ReferenceEquals(a, b) 
!object.ReferenceEquals(a, b) typeof(a) a is b(type comparison)
& |  Xor != == && Is a Is b
For i As Integer = 0 To number - 1
    ' loop from zero up to one less than number
Next
For i As Integer = number To 0 Step -1
    ' loops from number down to zero
Next
For i As Integer = 0 To 20 Step 2
    ' loops from 0 to 20 by 2's
Next
Exit For 'breaks out of a for loop
Exit While 'breaks out of a while loop
Exit Do 'breaks out of a do loop
for (int i = 0; i < number; ++i) {
    // loop from zero up to one less than number
}
for (int i = number; i >= 0; --i) {
    // loops from number down to zero
}
for (int i = 0; i <= 20; i += 2) {
    // loops from 0 to 20 by 2's
}