I have a method GetProduct, which returns a Product Object and say, i want to return an additional parameter along with the object, how can i implement it? In my below example , how can i return 'isExists '?
public Product GetProduct()
{
---
----
bool isExists = true
return new Product();
}
I don't want to add that parameter as a property in the Product Class.
Any help on this is much appreciated!
Thanks, Kan