c# - How to convert a string into a Point? - Stack Overflow

PHOTO EMBED

Tue Jan 10 2023 14:54:34 GMT+0000 (Coordinated Universal Time)

Saved by @javicinhio #cs

string[] coords = str.Split(',');

Point point = new Point(int.Parse(coords[0]), int.Parse(coords[1]));
content_copyCOPY

https://stackoverflow.com/questions/2718350/how-to-convert-a-string-into-a-point