I don't think we'll solve the issue with pseudo code. Logically according to inheritance paradigm the code is correct and should work without any casts. So if something doesn't work, I suggest you show us the actual code.
I don't think we'll solve the issue with pseudo code. Logically according to inheritance paradigm the code is correct and should work without any casts. So if something doesn't work, I suggest you show us the actual code.
It'sn't c++; it's C# (apart the main); But it works now; what I was wondering is if it's a good use of inheritance or other.....
thanks
Regards
Yes, it's a proper use of inheritance.
Bookmarks