Wednesday, 7 August 2013

does not contain a constructor that takes '1' arguments

does not contain a constructor that takes '1' arguments

I've searched a few topics about this but I'm still stuck, I'm fairly new
to c# and this error is starting to give me a headache. I'm trying to
Initilise a list but i keep getting that error message. Any help is very
welcome.
public static List<BookOperator> CreateBookOperators()
{
List<BookOperator> ops = new List<BookOperator>();
BookOperator op = new BookOperator(ops);
ops.Add(op);
return ops;
}

No comments:

Post a Comment