'
' Author:
' Roopa Wilson (rowilson@novell.com)
-
' Copyright (C) 2004 Novell, Inc (http://www.novell.com)
'
' Permission is hereby granted, free of charge, to any person obtaining
' OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
' WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
'
-
-Imports Microsoft.VisualBasic \r
-Imports System\r
-Public Class TestClass \r
- Public Function Test() As Integer\r
- 'Begin Code\r
- Dim result As Integer = StrComp ("Hello","")\r
- If result <> 1 Then\r
- Throw New Exception ("#StrComp01: Expected 1 but got " + result.ToString ())\r
- End If\r
- Return result\r
- 'End Code\r
- End Function\r
-End Class\r
+Imports Microsoft.VisualBasic
+Imports System
+Public Class TestClass
+ Public Function Test() As Integer
+ 'Begin Code
+ Dim result As Integer = StrComp ("Hello","")
+ If result <> 1 Then
+ Throw New Exception ("#StrComp01: Expected 1 but got " + result.ToString ())
+ End If
+ Return result
+ 'End Code
+ End Function
+End Class