System.AccessViolationException: Attempted to read or write protected memory.
i get this exception when i change a multiline textbox to single line:
Visual studio actually throws the exception at the Program.cs at the Application.Run(new Form1()); line, but i found that the issue is caused by the line valTxtBox.Multiline = false; because if i remove it i dont get the exception
What is going on here?
3 Replies
is there more in the call stack of the exception?
no just this
