Wednesday, July 2, 2014

Correctly encapsulate the method of adding lines

I'm getting an error on the following. The error is "Method must have a return type". Any ideas?

AddLineItem(InvoiceLine line)
{
invoiceline.Add(line);
}





Please mark my post as helpful or the answer or better yet.... both! :) Thanks!


No comments:

Post a Comment