Добавить
Уведомления

C# for Beginners - Part 17.2 - C# Classes Tutorial (Part 2)

Mobile apps, 2D and 3D games, web applications and more can be developed rapidly using C#. C# is a very powerful and flexible .NET programming language. This video serves as the second part of this tutorial on C# classes (which will be comprised of five videos). In this video we start to develop a CRUD (Create, Read, Update, Delete) application. This video demonstrates the creation of a class developed for the purpose of encapsulating an employee record. The creation of a parameterised constructor and a parameterless constructor is demonstrated. The use of the 'this' keyword is implemented to ensure that the parameterless constructor is called before the parameterised constructor during the instantiation of an object. The implementation of public properties (both readonly and read/write) and a public method is also demonstrated. The use of a static private member variable is demonstrated. The encapsulation of private member variables in public properties is demonstrated. Links -------- If you’d like to make a donation to help support the channel, please click the link below, https://www.paypal.com/paypalme/GavinLon Full playlist - C# for Beginners Course https://www.youtube.com/watch?v=2pquQMSYk6c&list=PL4LFuHwItvKbneXxSutjeyz6i1w32K6di Full playlist - Advanced C# Course https://www.youtube.com/watch?v=3cfVmcAkR2w&list=PL4LFuHwItvKaOi-bN1E2WUVyZbuRhVokL C# for Beginners - Part 17.1 - C# Classes (Part 1) https://youtu.be/6rlUl5T2Sck Video Guide on how to Install a Free Version of Visual Studio 2019 ---------------------------------------------------------------------------------------------------------- https://youtu.be/jh9sHQ2pB80 Install Visual Studio 2019 Community Edition for Mac -------------------------------------------------------------------------------------- https://visualstudio.microsoft.com/vs/mac/ .Net Standard https://docs.microsoft.com/en-us/dotnet/standard/net-standard .NET Core Prerequisites - Windows https://docs.microsoft.com/en-us/dotnet/core/windows-prerequisites?tabs=netcore2x .NET Core Prerequisites - macOS https://docs.microsoft.com/en-us/dotnet/core/macos-prerequisites?tabs=netcore2x Download Visual Studio Community Edition for Windows https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2017 Download Visual Studio Community Edition for Mac https://docs.microsoft.com/en-us/visualstudio/mac/installation Download Visual Studio Code for Windows and Mac https://code.visualstudio.com/download .NET Core SDK - Overview https://docs.microsoft.com/en-us/dotnet/core/sdk Download .NET Core SDK https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial Visual Studio Licensing Terms https://visualstudio.microsoft.com/license-terms/mlt553321/ GitHub Code https://github.com/GavinLonDigital/EmployeeCRUDApplicationExample_Classes_Part2 All music was created by Gavin Lon Digital. Contact [email protected]

12+
14 просмотров
2 года назад
21 апреля 2024 г.
12+
14 просмотров
2 года назад
21 апреля 2024 г.

Mobile apps, 2D and 3D games, web applications and more can be developed rapidly using C#. C# is a very powerful and flexible .NET programming language. This video serves as the second part of this tutorial on C# classes (which will be comprised of five videos). In this video we start to develop a CRUD (Create, Read, Update, Delete) application. This video demonstrates the creation of a class developed for the purpose of encapsulating an employee record. The creation of a parameterised constructor and a parameterless constructor is demonstrated. The use of the 'this' keyword is implemented to ensure that the parameterless constructor is called before the parameterised constructor during the instantiation of an object. The implementation of public properties (both readonly and read/write) and a public method is also demonstrated. The use of a static private member variable is demonstrated. The encapsulation of private member variables in public properties is demonstrated. Links -------- If you’d like to make a donation to help support the channel, please click the link below, https://www.paypal.com/paypalme/GavinLon Full playlist - C# for Beginners Course https://www.youtube.com/watch?v=2pquQMSYk6c&list=PL4LFuHwItvKbneXxSutjeyz6i1w32K6di Full playlist - Advanced C# Course https://www.youtube.com/watch?v=3cfVmcAkR2w&list=PL4LFuHwItvKaOi-bN1E2WUVyZbuRhVokL C# for Beginners - Part 17.1 - C# Classes (Part 1) https://youtu.be/6rlUl5T2Sck Video Guide on how to Install a Free Version of Visual Studio 2019 ---------------------------------------------------------------------------------------------------------- https://youtu.be/jh9sHQ2pB80 Install Visual Studio 2019 Community Edition for Mac -------------------------------------------------------------------------------------- https://visualstudio.microsoft.com/vs/mac/ .Net Standard https://docs.microsoft.com/en-us/dotnet/standard/net-standard .NET Core Prerequisites - Windows https://docs.microsoft.com/en-us/dotnet/core/windows-prerequisites?tabs=netcore2x .NET Core Prerequisites - macOS https://docs.microsoft.com/en-us/dotnet/core/macos-prerequisites?tabs=netcore2x Download Visual Studio Community Edition for Windows https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2017 Download Visual Studio Community Edition for Mac https://docs.microsoft.com/en-us/visualstudio/mac/installation Download Visual Studio Code for Windows and Mac https://code.visualstudio.com/download .NET Core SDK - Overview https://docs.microsoft.com/en-us/dotnet/core/sdk Download .NET Core SDK https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial Visual Studio Licensing Terms https://visualstudio.microsoft.com/license-terms/mlt553321/ GitHub Code https://github.com/GavinLonDigital/EmployeeCRUDApplicationExample_Classes_Part2 All music was created by Gavin Lon Digital. Contact [email protected]

, чтобы оставлять комментарии