3
Answers

Get value from object

none

none

15y
4.2k
1
if i have:

Point a = new Point(10,10);
Object b = (object)a;

how can i get values (10 and 10) from 'b' object?

somthing like this:
Point c = new Point();
c.X = B.X;

in my case, i need to return a Point value... and in pseudocode is:

return (System.Drawing.Point)b;

or some hints please... thanks
Answers (3)
Next Recommended Forum