المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Point conversion.



C# Programming
10-25-2011, 02:00 AM
Hi,

What is the best way to convert a point string to a point object ?

Point Pt1 = new Point(10, 20);
string strPt = Pt1.ToString();
Point Pt2 = ? (use strPt to convert back to Point object)

Thx.