133x Filetype PDF File size 0.17 MB Source: www.bellevuecollege.edu
COMPUTER & TECHNOLOGY PROGRAMS C# Programming: 2 Learn C# programming in a Console environment using Visual Studio. Apply the .NET Framework and object-oriented programming principles to create a C# application. In addition, develop skills in designing and writing C# computer programs using structures, collections and custom exceptions. Develop the skill to test code using unit testing techniques. Get hands-on practice with applying these programming concepts by creating new code and revising existing code. Who should take this course? This is an intermediate C# course that is designed for individuals who want to learn how to apply object-oriented programming principles in a .NET environment. This is a required course for the C# Programming, Web Development, and Software Test Engineer certificate programs. Course Objectives • Create a C# console application that will enable user interaction with an application in a Console Window. • Add a class to an application that implements encapsulation and all types of members including constructors and methods. • Apply inheritance and polymorphism principles using multiple classes. • Add a custom exception class to an application that will throw the exception when a business rule is violated and catch the exception on the client side. • Add a service class to an application to store information in a collection, and provide an indexer for the client class to store and retrieve that information. • Implement polymorphism using an interface. • Add a struct to an application to manipulate a given string message and test it using unit testing techniques. Course Details • Length: 39 hours • Format: Classroom • Prerequisites: C# Programming: 1 or the equivalent knowledge and experience The above prerequisites are considered to be the basic skills and knowledge needed prior to taking this class. Instructors will assume your readiness for the class materials and will NOT use class time to discuss prerequisite materials. C# Programming: 2 | Pg. 1 COMPUTER & TECHNOLOGY PROGRAMS Course Contents Create a C# console application that will enable user interaction with an application in a Console Window. • Describe the Common Language Runtime (CLR) and the Base Class Library (BCL) components of the .NET Framework. • Use the command line to compile a .NET application. • Create code to read and display a revised message on the Console Window. • Use the Locals Window in debugging mode to change the value of a local variable. Add a class to an application that implements encapsulation and all types of members including constructors and methods. • Create and use a class containing static and instance members. • Modify a class to include operator overloading. • Create and use a static class. • Run unit tests against an application. Apply inheritance and polymorphism principles using multiple classes. • Implement inheritance by adding a class that inherits from another class. • Use polymorphism to print custom information for each derived type. • Convert a class to an abstract class. • Seal a class to prevent inheritance. • Apply Object Class methods. Add a custom exception class to an application that will throw the exception when a business rule is violated and catch the exception on the client side. • Throw a new instance of an exception object. • Retrieve the contents of the InnerException property of an exception object using a recursive method. • Create and use a custom exception class. C# Programming: 2 | Pg. 2 COMPUTER & TECHNOLOGY PROGRAMS Course Contents, continued Add a service class to an application to store information in a collection, and provide an indexer for the client class to store and retrieve that information. • Implement an array of a reference type to store and retrieve information. • Implement an indexer to store and retrieve information from a collection. • Implement the List and Dictionary generic collections to store and retrieve information. Implement polymorphism using an interface. • Create and implicitly implement multiple interfaces. • Apply polymorphism by executing a method through an interface reference. • Create an explicit implementation of an interface. • Implement the IDisposable and IComparable interfaces. Add a struct to an application to manipulate a given string message and test it using unit testing techniques. • Create and use a struct. • Create a struct that employs the StringBuilder class to build a string in a specified format. • Create unit tests to test an application as it is being coded. C# Programming: 2 | Pg. 3
no reviews yet
Please Login to review.