❔ Are these concepts encapsulation & polymorphism correctly implemented?
BlazeBin - jmusmzkpjeap
A tool for sharing your source code with the world!
16 Replies
I have done the following create books --> add books in the list --> applied encapsulation where the list is private but accessing it through a method --> applied polymorphism by defining a virtual method in the base class --> defining override methods in the sub-classes and printing a different message of a book depending on the user input, I hope I have done all these?
.NET Framework?? What year is this?
idk, did you? compare that to the question
How do I check if I have the .NET Framework installed in my VS? By what year, I'm assuming the version of the framework?
Currently. I'm asking specifically about the implementation of these concepts?
I'm using only .NET and version 7.0 on Mac and NET Framework only runs on Windows lol.
So that means I need to use the project on Windows device in order to submit the assignment, right?
?
.NET Framework is outdated
talk to your teacher
Really! I didn't know that, thanks for informing me. What could be the alternative then? Winforms or WPF maybe?
Do you have any answer?
you're confusing UI frameworks with .NET versions
console apps, winforms, wpf, etc. all run on .NET, which is roughly divided into .NET Framework which is the old windows-only versions and .NET (Core) which is the new versions
though winforms and wpf are windows-only regardless of what .NET version you're using
Aha! Ok! Thanks a lot for making things clear. So in my case, I should go with either Winforms or WPF because, I'm using Mac, right?
...no, the exact opposite
neither of those UI frameworks run on mac
do you even need a GUI?
Sorry! I wasn't very accurate in my question. I know those two frameworks run only on Windows and not on Mac, so I should be using a Windows device instead of Mac.
Yes, I do need that, since my course is requiring me to use a framework.
Winforms & wpf, aren't they included in the GUI just like maui & xamarion?
i don't know what that question means
if you're using a mac they aren't even an option for you
Ok! Just to get things in a more clearer way. What do you mean by GUI?
I did understand that Winfroms & wpf are UI frameworks that run only on Windows where you can build Windows apps. How about maui & xamarion aren't they a frameworks too?
GUI = graphical user interface
framework is a general term for a large library that you build an application on top of
Aha! Ok!
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.