Skip to content

Commit 22f66ba

Browse files
authored
Fixed typo in xat.vb
1 parent a97aeb7 commit 22f66ba

File tree

1 file changed

+10
-10
lines changed
  • snippets/visualbasic/VS_Snippets_CLR/SecureString.xAt/VB

1 file changed

+10
-10
lines changed

snippets/visualbasic/VS_Snippets_CLR/SecureString.xAt/VB/xat.vb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Imports System.Security
33

44
Module Example
55
Public Sub Main()
6-
Dim msg As String = "The curent length of the SecureString object: {0}" + vbCrLf
6+
Dim msg As String = "The current length of the SecureString object: {0}" + vbCrLf
77
Console.WriteLine("1) Instantiate the SecureString object.")
88
Dim ss As New SecureString()
99
Console.WriteLine(msg, ss.Length)
@@ -41,26 +41,26 @@ Module Example
4141
End Module
4242
' The example displays the following output:
4343
' 1) Instantiate the SecureString object.
44-
' The curent length of the SecureString object: 0
44+
' The current length of the SecureString object: 0
4545
'
4646
' 2) Append 'a' to the value.
47-
' The curent length of the SecureString object: 1
47+
' The current length of the SecureString object: 1
4848
'
4949
' 3) Append 'X' to the value.
50-
' The curent length of the SecureString object: 2
50+
' The current length of the SecureString object: 2
5151
'
5252
' 4) Append 'c' to the value.
53-
' The curent length of the SecureString object: 3
53+
' The current length of the SecureString object: 3
5454
'
5555
' 5) Insert 'd' at the end of the value.
56-
' The curent length of the SecureString object: 4
56+
' The current length of the SecureString object: 4
5757
'
5858
' 6) Remove the last character ('d') from the value.
59-
' The curent length of the SecureString object: 3
59+
' The current length of the SecureString object: 3
6060
'
6161
' 7) Set the second character of the value to 'b'.
62-
' The curent length of the SecureString object: 3
62+
' The current length of the SecureString object: 3
6363
'
6464
' 8) Delete the value of the SecureString object:
65-
' The curent length of the SecureString object: 0
66-
'</snippet1>
65+
' The current length of the SecureString object: 0
66+
'</snippet1>

0 commit comments

Comments
 (0)