diff --git a/snippets/csharp/System.Net/SocketAddress/Overview/source.cs b/snippets/csharp/System.Net/SocketAddress/Overview/source.cs index 1a1dc7536d3..c2ca6437df9 100644 --- a/snippets/csharp/System.Net/SocketAddress/Overview/source.cs +++ b/snippets/csharp/System.Net/SocketAddress/Overview/source.cs @@ -10,7 +10,7 @@ public static void MySerializeIPEndPointClassMethod(){ // //Creates an IpEndPoint. -IPAddress ipAddress = Dns.Resolve("www.contoso.com").AddressList[0]; +IPAddress ipAddress = Dns.GetHostEntry("www.contoso.com").AddressList[0]; IPEndPoint ipLocalEndPoint = new IPEndPoint(ipAddress, 11000); //Serializes the IPEndPoint. diff --git a/xml/System.Numerics/BigInteger.xml b/xml/System.Numerics/BigInteger.xml index f58f23c1766..244ac9afef8 100644 --- a/xml/System.Numerics/BigInteger.xml +++ b/xml/System.Numerics/BigInteger.xml @@ -9342,7 +9342,7 @@ If `provider` is `null`, the object method returns 1 if the value of the exponent parameter is 0, or if the values of both the `value` and `exponent` parameters are 0. If `exponent` is 1, the method returns `value`. If `value` is negative, the method returns a negative result. + The method returns 1 if the value of the exponent parameter is 0, or if the values of both the `value` and `exponent` parameters are 0. If `exponent` is 1, the method returns `value`. If `value` is negative and exponent is odd, the method returns a negative result. This method corresponds to the method for primitive numeric types. diff --git a/xml/System/MathF.xml b/xml/System/MathF.xml index 3127716319e..3b3ecae1a29 100644 --- a/xml/System/MathF.xml +++ b/xml/System/MathF.xml @@ -2405,7 +2405,7 @@ If the value of the `x` argument is /180 to convert degrees to radians. + The angle, `x`, must be in radians. Multiply by /180 to convert degrees to radians. This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures.