W
Wayne
I have class, and one of its methods is to return the number of items
based on a criteria.
The user can parse that through, but is it possible to append the
ToString() function to a method?
For instance I would call the procedure thusly:
int myvar = p.Count("foo");
But how would I implement it such that:
string myvar = p.Count("Foo").ToString();
based on a criteria.
The user can parse that through, but is it possible to append the
ToString() function to a method?
For instance I would call the procedure thusly:
int myvar = p.Count("foo");
But how would I implement it such that:
string myvar = p.Count("Foo").ToString();