我需要一个代码来计算richtextbox行中有多少逗号.如果有4个或更多逗号然后做某事,否则删除行.
.net vb.net
我随机收到此错误消息:
指数数组的边界之外.
它指向这一行:
Dim placename As String = RichTextBox1.Lines(0)
vb.net indexoutofboundsexception
vb.net ×2
.net ×1
indexoutofboundsexception ×1