@@ -6,7 +6,7 @@ class Example
6
6
{
7
7
public static void Main ( )
8
8
{
9
- string msg = "The curent length of the SecureString object: {0}\n " ;
9
+ string msg = "The current length of the SecureString object: {0}\n " ;
10
10
Console . WriteLine ( "1) Instantiate the SecureString object." ) ;
11
11
SecureString ss = new SecureString ( ) ;
12
12
Console . WriteLine ( msg , ss . Length ) ;
@@ -44,26 +44,26 @@ public static void Main()
44
44
}
45
45
// The example displays the following output:
46
46
// 1) Instantiate the SecureString object.
47
- // The curent length of the SecureString object: 0
47
+ // The current length of the SecureString object: 0
48
48
//
49
49
// 2) Append 'a' to the value.
50
- // The curent length of the SecureString object: 1
50
+ // The current length of the SecureString object: 1
51
51
//
52
52
// 3) Append 'X' to the value.
53
- // The curent length of the SecureString object: 2
53
+ // The current length of the SecureString object: 2
54
54
//
55
55
// 4) Append 'c' to the value.
56
- // The curent length of the SecureString object: 3
56
+ // The current length of the SecureString object: 3
57
57
//
58
58
// 5) Insert 'd' at the end of the value.
59
- // The curent length of the SecureString object: 4
59
+ // The current length of the SecureString object: 4
60
60
//
61
61
// 6) Remove the last character ('d') from the value.
62
- // The curent length of the SecureString object: 3
62
+ // The current length of the SecureString object: 3
63
63
//
64
64
// 7) Set the second character of the value to 'b'.
65
- // The curent length of the SecureString object: 3
65
+ // The current length of the SecureString object: 3
66
66
//
67
67
// 8) Delete the value of the SecureString object:
68
- // The curent length of the SecureString object: 0
69
- //</snippet1>
68
+ // The current length of the SecureString object: 0
69
+ //</snippet1>
0 commit comments