Object Oriented Programming 2 - Class Library Files

  Рет қаралды 30,369

Computer Science Lessons

Computer Science Lessons

Күн бұрын

Пікірлер: 26
@revronvic
@revronvic 2 жыл бұрын
Excellent video! I have years of experience with VB/Visual Studio, suffered a TBI and now working to learn to code again... your videos, and comments are outstanding and a great learning tool. Thank you for putting these on KZbin!
@ComputerScienceLessons
@ComputerScienceLessons 2 жыл бұрын
You are very welcome indeed :)KD
@revronvic
@revronvic 2 жыл бұрын
@@ComputerScienceLessons FYI prior to my TBI I was an MCP, but the brain injury broke that, your videos provide great examples of tasks I used to do routinely. I'll continue to watch your videos to help me regain my programming knowledge 😁
@evandawson1037
@evandawson1037 4 жыл бұрын
Your explanation to these OOP concept is outstanding!!! Thank you very much.. Hope to get more videos from you!!
@evanjava2920
@evanjava2920 4 жыл бұрын
I guess you must be from UK !!your voice is so soothing and so professional.... Absolutely clear and crisp .... You are definitely awesome!
@lin6749-m9h
@lin6749-m9h 5 жыл бұрын
The explanations are really clear, further.. the typing sounds are so satisfying to me XD
@munylou7654
@munylou7654 4 жыл бұрын
Sir you type very very well i liked it
@pinns
@pinns 2 жыл бұрын
Absolutely superb; never realised dlls were classes !
@jtlunsford780
@jtlunsford780 Жыл бұрын
I'm sure I'll find a use for Class Libraries as I progress. It's pretty simple the way you lay it out ...Thank you so much...JT
@jefreyquiniano6769
@jefreyquiniano6769 2 жыл бұрын
Very nice explanation 😊
@ComputerScienceLessons
@ComputerScienceLessons 2 жыл бұрын
Thank you :)KD
@cion0726
@cion0726 6 жыл бұрын
Really helpful thank you!
@mahmoudelgamasy1047
@mahmoudelgamasy1047 2 жыл бұрын
Thank you very much
@ComputerScienceLessons
@ComputerScienceLessons 2 жыл бұрын
You're welcome :)KD
@spence524
@spence524 3 жыл бұрын
Should you put the class library project inside of the solution if your app is the only program using the library?
@talllpaul1965
@talllpaul1965 3 жыл бұрын
Has the way to link .dll changed? I have followed the steps but I get a FileNotFoundException when I execute the CatteryApp project.
@ComputerScienceLessons
@ComputerScienceLessons 3 жыл бұрын
Make sure you selected the same project template as I did when you created the project? It should be 'Class Library (.NET Framework). Make sure that the dll has been built properly - there should be no errors in Visual Studio's Output window and you should be able to see a .dll file in the project's bin/Debug folder when you examine it with Windows File Explorer. In your front end application, select Project then Add Reference... and browse to the bin/Debug folder of your class library project, select the dll file that you see there. Once selected, make sure the library file is checked in the Reference Manager. You should see it listed in the Solution Explorer window of your front end application. I have just tried this in the latest update of Visual Studio 2019 and it works, although the Intellisense did seem a little sluggish at first. KD :)KD
@ZaydH
@ZaydH 3 жыл бұрын
Whenever I instantiate a new object I get this error "Overload resolution failed because no accessible 'new' accepts this number of arguments"
@MarkPearsonmrp
@MarkPearsonmrp 8 күн бұрын
Public fields ae not properties, properties have a getter and setter unless readonly or writeonly is added
@erzet7117
@erzet7117 3 жыл бұрын
Thank you for the well explained OOP concept. I have the save problem as TallPaul. Everything went well. I can compile and I can execute. But when I press on the button there will be the FileNotFoundExection error. I work with Windows 10 and use Visual Studio 2019 community. I tried it on different ways. When I looked at the location of the dll file, I see an extra map and on 2 different places the dll file. Example of the locations: C:\Data\VS2019\source epos\Auto\bin\Debug et5.0-windows\bin\auto.dll AND C:\Data\VS2019\source epos\Auto\bin\Debug et5.0-windows ef\Auto.dll There is a extra map net5.0windows and in the second case a map ref. When I browse for the location of the dll file, it went wrong in both. Do you know what the problem is and how I can fix this, because I see the benefit of a class library. Thank you.
@programpotato
@programpotato 7 ай бұрын
i have the same problem any help
@MAbduser
@MAbduser 3 жыл бұрын
This is the second video I watched and again, I still fail to see any benefit of OOP! I still can create a dll library like I used to do with the procedural programming since the days I was working on VB6.
@ComputerScienceLessons
@ComputerScienceLessons 3 жыл бұрын
I come from a VB6 background to. The benefits you will normally see quoted include: Code Reuse: Classes can be put into code libraries then easily reused in other programs. Encapsulation: Programmers need not understand the details of how a program works in order to call it from another program. This allows a large application to be divided up between software engineers with different levels of skill. Design Benefits: OOP requires careful a design phase, in terms of entities, the relationships between them, their properties and their behaviours. Careful design results in applications with fewer flaws. Extensibility and Maintenance: OOP applications are relatively easy to improve and maintain. They have a logical structure. Code in one program can often be changed without requiring changes to other programs that call it. New classes can also be created quickly by extending existing classes through inheritance. The most important benefit, to my mind, is inheritance - that's what VB6 lacked (although you could sort of fake it with customised interfaces). It took my a while, but the more OO code I write, the more I see the power. Having said that, I still use procedural programming.
@programpotato
@programpotato 7 ай бұрын
does anyone know why visual studio 2019 gives an error message of filenotfound ?
@CafeenMan
@CafeenMan Жыл бұрын
CurrentVaccinations should be an Array. CurrentVaccinations() As Boolean. Then an Enum that lists various vaccinations the cat might have.
Object Oriented Programming 3 - Property Procedures
12:22
Computer Science Lessons
Рет қаралды 27 М.
Object Oriented Programming 1 - Classes and Objects
12:25
Computer Science Lessons
Рет қаралды 102 М.
Air Sigma Girl #sigma
0:32
Jin and Hattie
Рет қаралды 45 МЛН
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН
Object-Oriented Programming, Simplified
7:34
Programming with Mosh
Рет қаралды 4,1 МЛН
Fundamental Concepts of Object Oriented Programming
9:16
Computer Science Lessons
Рет қаралды 984 М.
Vb.net - Using Object Oriented Programming
18:18
BrandonioProductions
Рет қаралды 40 М.
Object Oriented Programming 9 -Polymorphism
15:05
Computer Science Lessons
Рет қаралды 11 М.
VB.NET 2013: Classes - Methods, Members and Constructors
20:24
Nicholas Dingle
Рет қаралды 47 М.
VB.NET Programming. Intermediate Lesson 1. Event Handling
15:08
Computer Science Lessons
Рет қаралды 44 М.
Hash Tables and Hash Functions
13:56
Computer Science Lessons
Рет қаралды 1,6 МЛН
Air Sigma Girl #sigma
0:32
Jin and Hattie
Рет қаралды 45 МЛН