Get the minimum value that can be assigned to the Port property in CSharp
Description
The following code shows how to get the minimum value that can be assigned to the Port property.
Example
using System;//from w ww . j a va 2 s. c o m
using System.Net;
using System.Net.Sockets;
public class Example
{
public static void Main()
{
Console.WriteLine(IPEndPoint.MinPort);
}
}
The code above generates the following result.