Point Example - C#

The following shows a C# example that returns a Point object.


public static Point buildPoint()
{
    Point point = new Point();
    point.srsName = "EPSG:4326";
    Pos pos = new Pos();
    pos.X = -76.5;
    pos.Y = 46.5;
    point.Pos = pos;
    return point;
}