Doing things with objects as if they were parents
- by General Ackbar
Sorry that this is probably a super noob question. But the following code give me an error saying that there are invalid arguments in my call of
doStuffToLines(segments)
shouldnt I be able to do this since I have my DimensionLineSegment inherits from Lines?
private void doStuff()
{
List<DimensionLineSegment> segments = new List<DimensionLineSegment>();
doStuffToLines(segments);
}
private void doStuffToLines(List<Line> lines)
{
}