' System.InvalidCastException: Cast from string "Hello World" to type 'Integer' is not valid. Imports System Imports Nunit.Framework _ Public Class AssignmentStatements2 Inherits SystemException _ Public Sub TestForFormat () Dim a As Integer a = "Hello" + "World" End Sub End Class