Skip to content

Commit 6d7ab3a

Browse files
davidbroetjeRon Petrusha
authored andcommitted
Fix example word (#1291) (#546)
1 parent 25fe3e3 commit 6d7ab3a

File tree

2 files changed

+4
-4
lines changed
  • snippets
    • csharp/VS_Snippets_CLR_System/system.string.equals/cs
    • visualbasic/VS_Snippets_CLR_System/system.string.equals/vb

2 files changed

+4
-4
lines changed

snippets/csharp/VS_Snippets_CLR_System/system.string.equals/cs/equalsex1.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public static void Main()
77
{
88
Console.OutputEncoding = System.Text.Encoding.UTF8;
99
string word = "File";
10-
string[] others = { word.ToLower(), word, word.ToUpper(), "fıle" };
10+
string[] others = { word.ToLower(), word, word.ToUpper(), "Fıle" };
1111
foreach (string other in others)
1212
{
1313
if (word.Equals(other))
@@ -21,6 +21,6 @@ public static void Main()
2121
// File ≠ file
2222
// File = File
2323
// File ≠ FILE
24-
// File ≠ fıle
24+
// File ≠ Fıle
2525
// </Snippet2>
2626

snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/equalsex1.vb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Module Example
77

88
Dim word As String = "File"
99
Dim others() As String = { word.ToLower(), word, word.ToUpper(), _
10-
"fıle" }
10+
"Fıle" }
1111
For Each other As String In others
1212
If word.Equals(other) Then
1313
Console.WriteLine("{0} = {1}", word, other)
@@ -21,6 +21,6 @@ End Module
2121
' File ≠ file
2222
' File = File
2323
' File ≠ FILE
24-
' File ≠ fıle
24+
' File ≠ Fıle
2525
' </Snippet2>
2626

0 commit comments

Comments
 (0)