Skip to content

Commit 13a7ecb

Browse files
authored
Improve sample output (#5048)
1 parent c30dcce commit 13a7ecb

File tree

7 files changed

+11
-11
lines changed
  • samples/snippets
    • cpp/VS_Snippets_CLR/Environment.TickCount/CPP
    • csharp
    • visualbasic

7 files changed

+11
-11
lines changed

samples/snippets/cpp/VS_Snippets_CLR/Environment.TickCount/CPP/tickcount.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ int main()
1313
}
1414

1515
/*
16-
This example produces the following results:
16+
This example produces an output similar to the following:
1717
1818
TickCount: 101931139
1919
*/

samples/snippets/csharp/VS_Snippets_CLR/Environment.TickCount/CS/tickcount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static void Main()
1717
}
1818
}
1919
/*
20-
This example produces the following results:
20+
This example produces an output similar to the following:
2121
2222
TickCount: 101931139
2323
*/

samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer/cs/program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public override int GetHashCode(Box bx)
104104
return hCode.GetHashCode();
105105
}
106106
}
107-
/* This example produces the following output:
107+
/* This example produces an output similar to the following:
108108
*
109109
Boxes equality by dimensions:
110110
Added red, Count = 1, HashCode = 46104728

samples/snippets/csharp/VS_Snippets_CLR_System/system.convert.toint32/cs/toint32_1.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ private static void ConvertChar()
9494
// Converted the Char value 'a' to the Int32 value 97.
9595
// Converted the Char value 'z' to the Int32 value 122.
9696
// Converted the Char value '' to the Int32 value 7.
97-
// Converted the Char value '?' to the Int32 value 1023.
98-
// Converted the Char value '?' to the Int32 value 32767.
99-
// Converted the Char value '?' to the Int32 value 65534.
97+
// Converted the Char value 'Ͽ' to the Int32 value 1023.
98+
// Converted the Char value '翿' to the Int32 value 32767.
99+
// Converted the Char value '' to the Int32 value 65534.
100100
// </Snippet3>
101101
}
102102

samples/snippets/visualbasic/VS_Snippets_CLR/Environment.TickCount/VB/tickcount.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Class Sample
1414
End Sub
1515
End Class
1616
'
17-
'This example produces the following results:
17+
'This example produces an output similar to the following:
1818
'
1919
'TickCount: 101931139
2020
'

samples/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer/vb/program.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Class BoxSameVolume : Inherits EqualityComparer(Of Box)
121121
Return hCode.GetHashCode()
122122
End Function
123123
End Class
124-
' This example produces the following output:
124+
' This example produces an output similar to the following:
125125
' *
126126
' Boxes equality by dimensions:
127127
' Added red, Count = 1, HashCode = 46104728

samples/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ Module modMain
8787
' Converted the Char value 'a' to the Int32 value 97.
8888
' Converted the Char value 'z' to the Int32 value 122.
8989
' Converted the Char value '' to the Int32 value 7.
90-
' Converted the Char value '?' to the Int32 value 1023.
91-
' Converted the Char value '?' to the Int32 value 32767.
92-
' Converted the Char value '?' to the Int32 value 65534.
90+
' Converted the Char value 'Ͽ' to the Int32 value 1023.
91+
' Converted the Char value '翿' to the Int32 value 32767.
92+
' Converted the Char value '' to the Int32 value 65534.
9393
' </Snippet3>
9494
End Sub
9595

0 commit comments

Comments
 (0)