You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Globalization/NumberFormatInfo.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -823,8 +823,8 @@
823
823
## Examples
824
824
The following example shows how the <xref:System.Globalization.NumberFormatInfo.CurrencyNegativePattern%2A> property defines the format of negative currency values. It retrieves all the specific cultures that are defined on the host computer and displays each culture's <xref:System.Globalization.NumberFormatInfo.CurrencyNegativePattern%2A> property value, its associated pattern, and a number formatted as a currency value.
Copy file name to clipboardExpand all lines: xml/System/TimeZoneInfo.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1315,8 +1315,8 @@
1315
1315
## Examples
1316
1316
The following example creates a custom time zone for the Palmer station and Anvers Island in Antarctica. It sets the `disableDaylightSavingTime` parameter in the call to the <xref:System.TimeZoneInfo.CreateCustomTimeZone%2A?displayProperty=nameWithType> method to `true`. It then displays the new time zone's daylight saving time name, if one is present, and the number of adjustment rules to confirm that the new time zone has no daylight saving time information.
Copy file name to clipboardExpand all lines: xml/System/Tuple`4.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -87,8 +87,8 @@
87
87
88
88
- To provide easy access to, and manipulation of, a data set. The following example defines an array of <xref:System.Tuple%604> objects that contain the names of baseball pitchers, the number of innings they pitched, and the number of earned runs (runs that scored without fielding errors), and hits that they gave up. The array is passed to the `ComputeStatistics` method, which calculates each pitcher's earned run average (the average number of runs given up in a nine-inning game), and the average number of hits given up per inning. The method also uses these two averages to compute a hypothetical effectiveness average.
- To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the previous example returns its computed statistics, along with the name of the pitcher, in an array of <xref:System.Tuple%604> objects.
@@ -14047,15 +14059,6 @@ If the value of this property is `true` for an array type, it can be used to cre
14047
14059
14048
14060
**Note** The common language runtime makes a distinction between vectors (that is, one-dimensional arrays that are always zero-based) and multidimensional arrays. A vector, which always has only one dimension, is not the same as a multidimensional array that happens to have only one dimension. This method overload can only be used to create vector types, and it is the only way to create a vector type. Use the <xref:System.Type.MakeArrayType%28System.Int32%29> method overload to create multidimensional array types.
14049
14061
14050
-
14051
-
14052
-
## Examples
14053
-
The following code example creates array, `ref` (`ByRef` in Visual Basic), and pointer types for the `Test` class.
<exception cref="T:System.NotSupportedException">The invoked method is not supported in the base class. Derived classes must provide an implementation.</exception>
@@ -14120,16 +14123,7 @@ If the value of this property is `true` for an array type, it can be used to cre
14120
14123
14121
14124
> [!NOTE]
14122
14125
> The common language runtime makes a distinction between vectors (that is, one-dimensional arrays that are always zero-based) and multidimensional arrays. A vector, which always has only one dimension, is not the same as a multidimensional array that happens to have only one dimension. You cannot use this method overload to create a vector type; if `rank` is 1, this method overload returns a multidimensional array type that happens to have one dimension. Use the <xref:System.Type.MakeArrayType> method overload to create vector types.
14123
-
14124
-
14125
-
14126
-
## Examples
14127
-
The following code example creates array, `ref` (`ByRef` in Visual Basic), and pointer types for the `Test` class.
0 commit comments