Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / C#

.NET Framework Basics - Preparation for exam 70-536

4.89/5 (84 votes)
11 Mar 2010CC (ASA 2.5)2 min read 2   1.7K  
Base practice code for those preparing the exam 70-536 or learning the .NET framework basis

Introduction

This article presents a code example with the usage of the basic .NET Framework classes according to the first certification exam 70-536.

When studying for that exam, I found it useful to have all the involved code in one simple file/project for easy debugging. That's why I created this WinForms application with 21 Tabs plenty of examples.

Image 1

For example, here you can see the tab that allows you to play with the System.Drawing library to draw strings.

Image 2

Using the Code

If you are planning to take the first exam of the .NET Framework or just learn the usage of the base classes, this is the plan that I suggest:

  1. Read the official MCTS Self-Paced Training Kit.
  2. Get at least one of the official recommended test engines and exams suggested by Microsoft.
  3. Use the code provided in this article to debug each feature and play with the basic classes. Complete any TODO in the code.
  4. You can also copy the entire code to a Word document and print it in color for easy reference and for studying when you are commuting to the office. I estimate it takes less than 50 pages/almost 3000 lines of code. This will help you remember the classes and the common usage.
  5. You can print the code and the diagram shown below and place it in a wall like in your office box.
  6. Find study partners! Engage people in your software factory/office to certify together and meet to discuss. Remember the Latin proverb “By learning you will teach, by teaching you will learn”.
  7. Find in CodeProject other examples of the missing sections. There are fantastic regular expressions and COM interoperability articles that you should check.

Bonus

I included a PDF with a diagram I made some time ago showing the basic concepts related to Classes, Interfaces and Structs. It is based in the public C# 2.0 language definition. You can print it as is or you can convert it to Word format with any of the utilities available in the network for that purpose or copy the content to the clipboard.

Here I show you just a part of the diagram:

Image 3

As you will see, the diagram shows only the most relevant particularities of the language like for example "the interface can inherit multiple base-interfaces".

The recommendation is that you play with Visual Studio one more time trying to apply and challenge each "cell" on the diagram and think why that is the way it is.

Points of Interest

You need to understand that the code provided in this article is by no means a replacement for any other official preparation material. This is just a companion "easy to debug, easy to print".

License

This article, along with any associated source code and files, is licensed under The Creative Commons Attribution-ShareAlike 2.5 License