I've found this tutorial https://developers.arcgis.com/net/wpf/sample-code/perform-spatial-operations/
From my end, the collection of points is coming from the result of using "XY Table to Point" geoprocessing tool in Arcgis Pro given a set of longitudes and latitudes table fed in tool. So now I have a point feature class in Arcgis Pro environment. Anyhow, first thing first, (1) where do I go about getting the operation of "XY Table to Point" programmed in C#? Almost each geoprocessing tool has its equivalent operation described in Python, but not readily in C#, so is .NET Map SDK the resource I can count on to do the equivalent things so that the result may be recognized as Feature Layer by the NET Map SDK platform, which may be equivalent to Feature class of Argis, pro, I am hopign they will have the same columns/objects as a result?
The same thing with Spatial Join geoprocessing tool, it needs a Target Feature Class and a Join Feature Class passed into form, and one can get the Python code equivalent of this operation, however in .NET (2.a) how doI go about to import an Arcgis Pro Feature Class programmatically so that the C# WPM program would convert it to Feature Layer? (2.b) What are the equivalent C# methods to perform Spatial Join?
(3) Am I limited to Feature Layer data type? This is the type I had worked with before through a published Feature Service link given to me, there a C# method to invoke the link and I do query against the result (which is a Feature Layer)
But now I move on to do 2 more operations: one is "XY Table to Point" described above, followed by a "Spatial Join" operation. I'm not sure how to start with the point being defined as longitude and latitude (the attribute table behind the resulted Feature Class after doing XY Table to Point geoprocessing tool in Argis Pro does reserve 2 columns longitude and latitude but no other data, do you think I can redefined the geometry point using these same long/lats? rather than what illustrated in the example link above? geometry or feature layer?
Any feed back in appreciated.