hello, i hope, i've chosen the right forum - wasn't shure about the decision.
my problem: i have two classes: Category & Task
every task belongs to a category
here my task constructor:
Public Sub New(ByVal valName As String, ByRef valCat As Cat)
Name = valName
Cat = valCat
Cat.AddTask(Me)
End Sub
now i'd like to extend this constructor by adding a default category where to put the tasks if the tasks category is unknown.
i don't know how to implement such a default category in the task constructor.
it would be great if you could help me! thx
greetz jo