|
49 | 49 |
|
50 | 50 | ## Examples
|
51 | 51 | The following example uses several mathematical and trigonometric functions from the <xref:System.Math> class to calculate the inner angles of a trapezoid.
|
52 |
| - |
53 |
| - [!code-cpp[MathSample#1](~/samples/snippets/cpp/VS_Snippets_CLR/MathSample/CPP/mathsample.cpp#1)] |
54 |
| - [!code-csharp[MathSample#1](~/samples/snippets/csharp/VS_Snippets_CLR/MathSample/CS/mathsample.cs#1)] |
55 |
| - [!code-vb[MathSample#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb#1)] |
| 52 | +
|
| 53 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/MathSample/CPP/mathsample.cpp" id="Snippet1"::: |
| 54 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/MathSample/CS/mathsample.cs" interactive="try-dotnet" id="Snippet1"::: |
| 55 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb" id="Snippet1"::: |
56 | 56 |
|
57 | 57 | ]]></format>
|
58 | 58 | </remarks>
|
|
851 | 851 |
|
852 | 852 | ## Examples
|
853 | 853 | The following example demonstrates how to calculate the arctangent of a value and display it to the console.
|
854 |
| - |
855 |
| - [!code-cpp[math.atanx#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.atanx/CPP/atan.cpp#1)] |
856 |
| - [!code-csharp[math.atanx#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.atanx/CS/atan.cs#1)] |
857 |
| - [!code-vb[math.atanx#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.atanx/VB/atan.vb#1)] |
| 854 | +
|
| 855 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.atanx/CPP/atan.cpp" id="Snippet1"::: |
| 856 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.atanx/CS/atan.cs" interactive="try-dotnet" id="Snippet1"::: |
| 857 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.atanx/VB/atan.vb" id="Snippet1"::: |
858 | 858 |
|
859 | 859 | ]]></format>
|
860 | 860 | </remarks>
|
|
942 | 942 |
|
943 | 943 | ## Examples
|
944 | 944 | The following example demonstrates how to calculate the arctangent of an angle and a vector. The resulting value is displayed in the console.
|
945 |
| - |
946 |
| - [!code-cpp[math.atanx#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.atanx/CPP/atan.cpp#1)] |
947 |
| - [!code-csharp[math.atanx#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.atanx/CS/atan.cs#1)] |
948 |
| - [!code-vb[math.atanx#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.atanx/VB/atan.vb#1)] |
| 945 | +
|
| 946 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.atanx/CPP/atan.cpp" id="Snippet1"::: |
| 947 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.atanx/CS/atan.cs" interactive="try-dotnet" id="Snippet1"::: |
| 948 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.atanx/VB/atan.vb" id="Snippet1"::: |
949 | 949 |
|
950 | 950 | ]]></format>
|
951 | 951 | </remarks>
|
@@ -2047,10 +2047,10 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969
|
2047 | 2047 |
|
2048 | 2048 | ## Examples
|
2049 | 2049 | The following example uses <xref:System.Math.Cos%2A> to evaluate certain trigonometric identities for selected angles.
|
2050 |
| - |
2051 |
| - [!code-cpp[System.Math.SinCos#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.SinCos/CPP/sincos.cpp#1)] |
2052 |
| - [!code-csharp[System.Math.SinCos#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.SinCos/CS/sincos.cs#1)] |
2053 |
| - [!code-vb[System.Math.SinCos#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb#1)] |
| 2050 | +
|
| 2051 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.SinCos/CPP/sincos.cpp" id="Snippet1"::: |
| 2052 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.SinCos/CS/sincos.cs" interactive="try-dotnet" id="Snippet1"::: |
| 2053 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb" id="Snippet1"::: |
2054 | 2054 |
|
2055 | 2055 | ]]></format>
|
2056 | 2056 | </remarks>
|
@@ -2190,9 +2190,9 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969
|
2190 | 2190 |
|
2191 | 2191 | ## Examples
|
2192 | 2192 | The following example demonstrates the <xref:System.Math.DivRem%28System.Int32%2CSystem.Int32%2CSystem.Int32%40%29> method.
|
2193 |
| - |
2194 |
| - [!code-csharp[System.Math.DivRem#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.math.divrem/cs/divrem1.cs#1)] |
2195 |
| - [!code-vb[System.Math.DivRem#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem1.vb#1)] |
| 2193 | +
|
| 2194 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.math.divrem/cs/divrem1.cs" interactive="try-dotnet" id="Snippet1"::: |
| 2195 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem1.vb" id="Snippet1"::: |
2196 | 2196 |
|
2197 | 2197 | ]]></format>
|
2198 | 2198 | </remarks>
|
@@ -2260,9 +2260,9 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969
|
2260 | 2260 |
|
2261 | 2261 | ## Examples
|
2262 | 2262 | The following example demonstrates the <xref:System.Math.DivRem%28System.Int64%2CSystem.Int64%2CSystem.Int64%40%29> method.
|
2263 |
| - |
2264 |
| - [!code-csharp[System.Math.DivRem#2](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.math.divrem/cs/divrem2.cs#2)] |
2265 |
| - [!code-vb[System.Math.DivRem#2](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem2.vb#2)] |
| 2263 | +
|
| 2264 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.math.divrem/cs/divrem2.cs" interactive="try-dotnet" id="Snippet2"::: |
| 2265 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem2.vb" id="Snippet2"::: |
2266 | 2266 |
|
2267 | 2267 | ]]></format>
|
2268 | 2268 | </remarks>
|
@@ -2391,10 +2391,10 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969
|
2391 | 2391 |
|
2392 | 2392 | ## Examples
|
2393 | 2393 | The following example uses <xref:System.Math.Exp%2A> to evaluate certain exponential and logarithmic identities for selected values.
|
2394 |
| - |
2395 |
| - [!code-cpp[System.Math.Exp#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.Exp/CPP/exp.cpp#1)] |
2396 |
| - [!code-csharp[System.Math.Exp#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.Exp/CS/exp.cs#1)] |
2397 |
| - [!code-vb[System.Math.Exp#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Exp/VB/exp.vb#1)] |
| 2394 | +
|
| 2395 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.Exp/CPP/exp.cpp" id="Snippet1"::: |
| 2396 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.Exp/CS/exp.cs" interactive="try-dotnet" id="Snippet1"::: |
| 2397 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Exp/VB/exp.vb" id="Snippet1"::: |
2398 | 2398 |
|
2399 | 2399 | ]]></format>
|
2400 | 2400 | </remarks>
|
@@ -2831,9 +2831,9 @@ Remainder = (Math.Abs(dividend) - (Math.Abs(divisor) *
|
2831 | 2831 |
|
2832 | 2832 | ## Examples
|
2833 | 2833 | The following example illustrates the <xref:System.Math.Log%2A> method.
|
2834 |
| - |
2835 |
| - [!code-csharp[System.Math.Log_Overloads#2](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.Log_Overloads/CS/log1.cs#2)] |
2836 |
| - [!code-vb[System.Math.Log_Overloads#2](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/log1.vb#2)] |
| 2834 | +
|
| 2835 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.Log_Overloads/CS/log1.cs" interactive="try-dotnet" id="Snippet2"::: |
| 2836 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/log1.vb" id="Snippet2"::: |
2837 | 2837 |
|
2838 | 2838 | ]]></format>
|
2839 | 2839 | </remarks>
|
@@ -2979,10 +2979,10 @@ Remainder = (Math.Abs(dividend) - (Math.Abs(divisor) *
|
2979 | 2979 |
|
2980 | 2980 | ## Examples
|
2981 | 2981 | The following example uses <xref:System.Math.Log%2A> to evaluate certain logarithmic identities for selected values.
|
2982 |
| - |
2983 |
| - [!code-cpp[System.Math.Log_Overloads#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.Log_Overloads/CPP/loggen.cpp#1)] |
2984 |
| - [!code-csharp[System.Math.Log_Overloads#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.Log_Overloads/CS/loggen.cs#1)] |
2985 |
| - [!code-vb[System.Math.Log_Overloads#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/loggen.vb#1)] |
| 2982 | +
|
| 2983 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.Log_Overloads/CPP/loggen.cpp" id="Snippet1"::: |
| 2984 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.Log_Overloads/CS/loggen.cs" interactive="try-dotnet" id="Snippet1"::: |
| 2985 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/loggen.vb" id="Snippet1"::: |
2986 | 2986 |
|
2987 | 2987 | ]]></format>
|
2988 | 2988 | </remarks>
|
@@ -4558,10 +4558,10 @@ The following example demonstrates how to use the <xref:System.Math.Min%2A> meth
|
4558 | 4558 |
|
4559 | 4559 | ## Examples
|
4560 | 4560 | The following example uses <xref:System.Math.PI> to assist in the computation of the inner angles of a given trapezoid.
|
4561 |
| - |
4562 |
| - [!code-cpp[MathSample#1](~/samples/snippets/cpp/VS_Snippets_CLR/MathSample/CPP/mathsample.cpp#1)] |
4563 |
| - [!code-csharp[MathSample#1](~/samples/snippets/csharp/VS_Snippets_CLR/MathSample/CS/mathsample.cs#1)] |
4564 |
| - [!code-vb[MathSample#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb#1)] |
| 4561 | +
|
| 4562 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/MathSample/CPP/mathsample.cpp" id="Snippet1"::: |
| 4563 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/MathSample/CS/mathsample.cs" interactive="try-dotnet" id="Snippet1"::: |
| 4564 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb" id="Snippet1"::: |
4565 | 4565 |
|
4566 | 4566 | ]]></format>
|
4567 | 4567 | </remarks>
|
@@ -5551,11 +5551,11 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
|
5551 | 5551 |
|
5552 | 5552 | ## Examples
|
5553 | 5553 | The following example demonstrates how to use the <xref:System.Math.Sign%28System.Decimal%29> method to determine the sign of a <xref:System.Decimal> value and display it to the console.
|
5554 |
| - |
5555 |
| - [!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)] |
5556 |
| - [!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)] |
5557 |
| - [!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)] |
5558 |
| - |
| 5554 | +
|
| 5555 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1"::: |
| 5556 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1"::: |
| 5557 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1"::: |
| 5558 | + |
5559 | 5559 | ]]></format>
|
5560 | 5560 | </remarks>
|
5561 | 5561 | </Docs>
|
@@ -5631,10 +5631,10 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
|
5631 | 5631 |
|
5632 | 5632 | ## Examples
|
5633 | 5633 | The following example demonstrates how to use the <xref:System.Math.Sign%28System.Double%29> method to determine the sign of a <xref:System.Double> value and display it to the console.
|
5634 |
| - |
5635 |
| - [!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)] |
5636 |
| - [!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)] |
5637 |
| - [!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)] |
| 5634 | +
|
| 5635 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1"::: |
| 5636 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1"::: |
| 5637 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1"::: |
5638 | 5638 |
|
5639 | 5639 | ]]></format>
|
5640 | 5640 | </remarks>
|
@@ -5713,10 +5713,10 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
|
5713 | 5713 |
|
5714 | 5714 | ## Examples
|
5715 | 5715 | The following example demonstrates how to use the <xref:System.Math.Sign%28System.Int16%29> method to determine the sign of an <xref:System.Int16> value and display it to the console.
|
5716 |
| - |
5717 |
| - [!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)] |
5718 |
| - [!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)] |
5719 |
| - [!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)] |
| 5716 | +
|
| 5717 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1"::: |
| 5718 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1"::: |
| 5719 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1"::: |
5720 | 5720 |
|
5721 | 5721 | ]]></format>
|
5722 | 5722 | </remarks>
|
@@ -5794,9 +5794,9 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
|
5794 | 5794 | ## Examples
|
5795 | 5795 | The following example demonstrates how to use the <xref:System.Math.Sign%28System.Int32%29> method to determine the sign of an <xref:System.Int32> value and display it to the console.
|
5796 | 5796 |
|
5797 |
| - [!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)] |
5798 |
| - [!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)] |
5799 |
| - [!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)] |
| 5797 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1"::: |
| 5798 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1"::: |
| 5799 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1"::: |
5800 | 5800 |
|
5801 | 5801 | ]]></format>
|
5802 | 5802 | </remarks>
|
@@ -5873,10 +5873,10 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
|
5873 | 5873 |
|
5874 | 5874 | ## Examples
|
5875 | 5875 | The following example demonstrates how to use the <xref:System.Math.Sign%28System.Int64%29> method to determine the sign of an <xref:System.Int64> value and display it to the console.
|
5876 |
| - |
5877 |
| - [!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)] |
5878 |
| - [!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)] |
5879 |
| - [!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)] |
| 5876 | +
|
| 5877 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1"::: |
| 5878 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1"::: |
| 5879 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1"::: |
5880 | 5880 |
|
5881 | 5881 | ]]></format>
|
5882 | 5882 | </remarks>
|
@@ -5956,10 +5956,10 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
|
5956 | 5956 |
|
5957 | 5957 | ## Examples
|
5958 | 5958 | The following example demonstrates how to use the <xref:System.Math.Sign%28System.SByte%29> method to determine the sign of an <xref:System.SByte> value and display it to the console.
|
5959 |
| - |
5960 |
| - [!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)] |
5961 |
| - [!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)] |
5962 |
| - [!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)] |
| 5959 | +
|
| 5960 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1"::: |
| 5961 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1"::: |
| 5962 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1"::: |
5963 | 5963 |
|
5964 | 5964 | ]]></format>
|
5965 | 5965 | </remarks>
|
@@ -6036,10 +6036,10 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
|
6036 | 6036 |
|
6037 | 6037 | ## Examples
|
6038 | 6038 | The following example demonstrates how to use the <xref:System.Math.Sign%28System.Single%29> method to determine the sign of a <xref:System.Single> value and display it to the console.
|
6039 |
| - |
6040 |
| - [!code-cpp[Math.Sign#1](~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp#1)] |
6041 |
| - [!code-csharp[Math.Sign#1](~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs#1)] |
6042 |
| - [!code-vb[Math.Sign#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb#1)] |
| 6039 | +
|
| 6040 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR/math.sign/CPP/sign.cpp" id="Snippet1"::: |
| 6041 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/math.sign/CS/sign.cs" interactive="try-dotnet" id="Snippet1"::: |
| 6042 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb" id="Snippet1"::: |
6043 | 6043 |
|
6044 | 6044 | ]]></format>
|
6045 | 6045 | </remarks>
|
@@ -6107,10 +6107,10 @@ The following example demonstrates how to use the <xref:System.Math.Round%28Syst
|
6107 | 6107 |
|
6108 | 6108 | ## Examples
|
6109 | 6109 | The following example uses <xref:System.Math.Sin%2A> to evaluate certain trigonometric identities for selected angles.
|
6110 |
| - |
6111 |
| - [!code-cpp[System.Math.SinCos#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.SinCos/CPP/sincos.cpp#1)] |
6112 |
| - [!code-csharp[System.Math.SinCos#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.SinCos/CS/sincos.cs#1)] |
6113 |
| - [!code-vb[System.Math.SinCos#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb#1)] |
| 6110 | +
|
| 6111 | + :::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Math.SinCos/CPP/sincos.cpp" id="Snippet1"::: |
| 6112 | + :::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Math.SinCos/CS/sincos.cs" interactive="try-dotnet" id="Snippet1"::: |
| 6113 | + :::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb" id="Snippet1"::: |
6114 | 6114 |
|
6115 | 6115 | ]]></format>
|
6116 | 6116 | </remarks>
|
|
0 commit comments