I'm pretty new to VB and I encountered the following error "NullReferenceException was unhandled" with this code:
And then later this to assign a valueCode:Public Class User Public Forename As String Public Surname As String Public Username As String Public Password As String End Class
Then I hit the error.Code:Users(UserIndex).Forename = Console.ReadLine()
This is in a console application on VB 2010, can anyone give me a hand here?
Bookmarks