I have a method GetProduct, which returns a product object and says, I return an extra parameter with the object I want to, how can I apply it? In my example below, how can I return 'Eastics'?
public product GetProduct () {--- ---- boolExists = true return new product (); } I do not want to add that parameter as a property in the product category.
Any help on this is greatly appreciated!
thanks, ear
And the call is like this:
bool isExists; Product P = GetProduct (Exists Out) However I think isExists is the property that you want in your product category ...
No comments:
Post a Comment