How to get back a Size() c# from object 2d array

i declare a 2d array.

object[,] tbl = 
{
                { new Size(140,112), new Point(20,20) },
                { new Size(140,112), new Point(160,20) }
            
};

I am looping through the array

for(int i=0; i < tbl.GetLength(0); i++)
{

}

How do i get back the Size() and Point(), within the loop?



Read more here: https://stackoverflow.com/questions/64401075/how-to-get-back-a-size-c-sharp-from-object-2d-array

Content Attribution

This content was originally published by Stav at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: