how do i use a factory generated object?

This is the syntax for accessing a Property ([instance].[property]):

public static int Add(Commander c)
{
    return c.Val1 + c.Val2;
}

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top