Programming.NET , Level I - CMP132
Course Description:
The Visual Studio 2005 Integrated Development Environment (IDE) will be used as the programming development tool. Each topic will be presented in VB.NET language with exposure to C#.NET. Students will complete classroom exercises in VB.NET with the solutions being reviewed in C#.NET. All applications built and reviewed will be Windows Form applications. Topics covered are forms, controls, language syntax, data types, scope and lifetime, classes, objects, methods, events, properties, inheritance. Also included are recommended best practices and coding conventions for both languages.Prerequisites:
Programming Fundamentals class or equivalent knowledge.
Technology update: Please bring a Flash Drive/Memory Stick 512MB or larger to class which will enable you to save your class work.
Textbook:
Books may be purchased at the MC Bookstore or online. You will need to know the CMP#(Continuing Education classes) for the class you are taking in order to look up information about the textbook.
Classroom hours: 15
Course Objectives:
Upon completion of this course students should be able to:
- Use the Visual Studio Integrated Development Environment to write a Windows Form Application program.
- Demonstrate the concepts of scope and lifetime in relation to both variables and procedures.
- Use a set of supplied coding conventions and be able to extend these conventions to apply to other problems.
Summary:
The primary focus of this course is the VS .Net Integrated Development
Environment (IDE) and the VB .Net language. The classroom exercises are
solved using the IDE and VB .Net. Emphasis will be placed on using the
.Net Framework instead of legacy VB functions; for example, the Substring
method will be used instead of the Mid function. The exercise answers
will be reviewed in both VB and C#.
Outline:
- Introductions
- Textbook
- OOP and .Net – Where are we?
- VS Integrated Development Environment (IDE)
- Overview of .Net Classes and Objects
- Forms
- Design Time Property Setting
- Run Time Property Setting
- Make an EXE file
- Controls
- General Techniques
- Command Button
- Text Box
- Label
- Access keys for text boxes
- BASIC Programming
- Statements per line and lines per statement
- Comments
- Name specifications
- Data Types
- Type Declaration
- Constants
- Initialization
- Operators
- Arrays
- Subprograms & Functions
- MessageBox Function
- Scope & Lifetime
- Coding Conventions
- Control Constructs
- Iteration Constructs
- Frequently Used Functions
- Debugging
- Breakpoints
- Single Step
- Display contents of variables
- Cursor
- Quick Watch
- Auto window
- Exercises
- Evaluation