1 ' **********************************************************************
3 ' Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
5 ' This copy of Ice is licensed to you under the terms described in the
6 ' ICE_LICENSE file included in this distribution.
8 ' **********************************************************************
12 Public Class DerivedPrinterI
13 Inherits DerivedPrinter
15 Public Overloads Overrides
Sub printBackwards(ByVal current
As Ice
.Current
)
16 Dim arr() As Char
= message
.ToCharArray()
17 For i
As Integer = 0 To arr
.Length
/ 2 - 1
18 Dim tmp
As Char
= arr(arr
.Length
- i
- 1)
19 arr(arr
.Length
- i
- 1) = arr(i
)
22 System
.Console
.Out
.WriteLine(New String(arr
))
25 Public Overloads Overrides
Sub printUppercase(ByVal current
As Ice
.Current
)
26 System
.Console
.Out
.WriteLine(derivedMessage
.ToUpper())