Change the Class Name

Change the Class Name

To change the class name, complete the following steps:

  1. In the Solution Explorer, right-click Class1.vb to display a context menu.
  2. From the context menu, select Rename. Rename the file HelloWorld.vb.
  3. In the Solution Explorer, double-click HelloWorld.vb to open it for editing.

    Figure 174: Change the class name