-
-Imports Microsoft.VisualBasic \r
-Imports System\r
-Public Class TestClass \r
- Public Function Test() As String\r
- 'Begin Code\r
- Try\r
- Dim result() As String = Split ("HelloHelloHelloHello","ello",-2)\r
- Throw New Exception ("#Split01")\r
- Catch e As Exception\r
- If (e.GetType ().ToString ()) <> "System.OverflowException" Then\r
- Throw New Exception ("#Split02 : Expected System.OverflowException but got " + e.GetType ().ToString ())\r
- End If\r
- End Try\r
- 'End Code\r
- End Function\r
-End Class\r
+Imports Microsoft.VisualBasic
+Imports System
+Public Class TestClass
+ Public Function Test() As String
+ 'Begin Code
+ Try
+ Dim result() As String = Split ("HelloHelloHelloHello","ello",-2)
+ Throw New Exception ("#Split01")
+ Catch e As Exception
+ If (e.GetType ().ToString ()) <> "System.OverflowException" Then
+ Throw New Exception ("#Split02 : Expected System.OverflowException but got " + e.GetType ().ToString ())
+ End If
+ End Try
+ 'End Code
+ End Function
+End Class