Multiple choice .net vb

The constructors in VB.Net is similar to which event in previous versions of VB

  1. Class_Load

  2. Class_Terminate

  3. Class_Initialize

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In VB6, the Class_Initialize event was called when an object was created, serving as the constructor equivalent. VB.NET uses Sub New() for constructors, which serves the same purpose. Class_Load (A) is not a standard VB6 event, and Class_Terminate (B) was the destructor equivalent.