
Object Oriented Programming with C#
In this course, key concepts will be covered by learning how large programs are constructed, and how to use C# to perform object-oriented programming. Throughout the course, I will explore the many features of C# that support object-oriented programming, including objects, classes, inheritance, interfaces, and generic types. To make easier to learn a real-world context to these concepts, I will demonstrate how to use these features by writing real-world example code.What you will learn1. How to design application with objectsHow to represent entities in the system with software objectsThe object holds data and it also does things for us.Design a system by deciding what objects are required, what data they must store and what they need to do for us.2. Protecting Data in the ClassProtect the data fields in the class using private access modifier to allow only code running inside the object can access it.3. Accessor and Mutator methodsHow to write a method which provides read access to the data field inside the object which is called get methodAccessor methods return a value of some kind.Mutator method allows to change(mutate) a data field (sometimes called a set method)4. TestingAll the behaviours (class methods) need to be tested, particularly in terms of their error conditions.Whenever we create a behaviour, we should also create tests for that behaviour. So, we will create a test for each behaviour.Learn how to use unit testing to test all the behaviours of the classes using visual studio test framework.5. Constructing Class InstancesHow to use constructor to get control at the point where a new object is createdTo make sure that a given system only contains object that are valid according to the Business Rules that apply to our solution.6. How to Design Static MembersExplaining static fields and methodsUsing the static members in the class.7. Design with propertiesHow to use properties to make to code clearer.How to make the code easier.The C# language provides properties to make getting and setting data easier.8. InheritanceUsing inheritance, one of the key concepts of OOP how to take the existing classes and reuse them by extending them.How to achieve code reuse by extending a parent class and making a child classMethod can be marked as virtual so that they can be overridden by code in the child class. Using this how to create child classes with customised behaviours.How to reference to the parent class can refer to any of the child classes.9. Abstract ClassesHow to consider the fundamental behaviours without worrying about individual details. This provide templates which can be filled in by specific child types. Design using interface as a contract by hiding the implementation details.
£24.99
Similar Deals

Sky Plus HD Remote Control - wilko
£24.00
From Wilko

Huawei MatePad 10.4 Grey WiFi 32GB Good
£129.99
From Smart Fone Store

Apple iMac Core (2017) 21.5 i5 Retina 4K 3.4GHz 1TB 8GB Silver ...
£609.99
From Smart Fone Store

Apple MacBook Air (2015) 13 Core i5 1.6GHz 128GB 4GB - British ...
£379.99
From Smart Fone Store

Apple MacBook Pro (2017) 13 Core i5 2.3GHz 256GB 8GB - British ...
£619.99
From Smart Fone Store

Apple MacBook Pro (2013) 13 Core i5 2.6GHz 512GB 8GB - US ...
£379.99
From Smart Fone Store

Apple iMac (2012) 21.5 Core i5 2.7GHz 1TB 8GB Silver Very Good
£269.99
From Smart Fone Store

Apple MacBook Air (2017) Core i5 13 1.8GHz 128GB 8GB - British ...
£2490.00
From Smart Fone Store