Click here to Skip to main content
15,171,873 members
Articles / Programming Languages / C#
Posted 6 Mar 2010


173 bookmarked

.NET Framework Basics - Preparation for exam 70-536

Rate me:
Please Sign up or sign in to vote.
4.89/5 (84 votes)
11 Mar 2010CC (ASA 2.5)2 min read
Base practice code for those preparing the exam 70-536 or learning the .NET framework basis


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.


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".


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


About the Author

Chief Technology Officer
Canada Canada
Fabian walks for the streets of Montreal listening to his iPod

Comments and Discussions

GeneralRe: Good work Pin
fabianse21-Apr-10 21:33
Memberfabianse21-Apr-10 21:33 
GeneralHi Companion Pin
Anil Srivastava11-Apr-10 21:48
MemberAnil Srivastava11-Apr-10 21:48 
GeneralRe: Hi Companion Pin
fabianse13-Apr-10 16:43
Memberfabianse13-Apr-10 16:43 
GeneralGreat one Pin
Brij11-Apr-10 20:14
mentorBrij11-Apr-10 20:14 
GeneralRe: Great one Pin
fabianse13-Apr-10 16:41
Memberfabianse13-Apr-10 16:41 
GeneralGreat article Pin
Gaurav Dudeja India11-Apr-10 19:53
MemberGaurav Dudeja India11-Apr-10 19:53 
GeneralRe: Great article Pin
fabianse11-Apr-10 19:55
Memberfabianse11-Apr-10 19:55 
Questionabout structs..... [modified] Pin
musicm12218-Mar-10 5:54
professionalmusicm12218-Mar-10 5:54 
I'm thinking that you had structs down as N.A (Not Applicable)for instantiated because they are value type (in the Diagram) but, unless I'm mistaken, structs still have to be instantiated.
modified on Thursday, March 18, 2010 11:39 AM

AnswerRe: about structs..... [modified] Pin
fabianse19-Mar-10 8:50
Memberfabianse19-Mar-10 8:50 
GeneralThank you Pin
Ratish Philip18-Mar-10 3:27
MemberRatish Philip18-Mar-10 3:27 
GeneralRe: Thank you Pin
fabianse20-Mar-10 4:07
Memberfabianse20-Mar-10 4:07 
GeneralWow Pin
Dmitri Nеstеruk16-Mar-10 7:12
MemberDmitri Nеstеruk16-Mar-10 7:12 
GeneralRe: Wow Pin
fabianse17-Mar-10 16:07
Memberfabianse17-Mar-10 16:07 
GeneralWonderful Pin
sheniss15-Mar-10 18:52
Membersheniss15-Mar-10 18:52 
GeneralRe: Wonderful Pin
fabianse17-Mar-10 16:05
Memberfabianse17-Mar-10 16:05 
Generalthanks Pin
harun_san12-Mar-10 4:23
Memberharun_san12-Mar-10 4:23 
GeneralRe: thanks Pin
fabianse14-Mar-10 14:28
Memberfabianse14-Mar-10 14:28 
GeneralIts really amazing... Pin
Anurag Gandhi10-Mar-10 6:21
professionalAnurag Gandhi10-Mar-10 6:21 
GeneralRe: Its really amazing... Pin
fabianse14-Mar-10 14:16
Memberfabianse14-Mar-10 14:16 
GeneralSweet Pin
Spas89-Mar-10 0:49
MemberSpas89-Mar-10 0:49 
GeneralRe: Sweet Pin
fabianse14-Mar-10 14:19
Memberfabianse14-Mar-10 14:19 
GeneralThank's Pin
arena_luigi8-Mar-10 22:39
Memberarena_luigi8-Mar-10 22:39 
GeneralRe: Thank's Pin
fabianse14-Mar-10 14:24
Memberfabianse14-Mar-10 14:24 
GeneralGreat work.... Pin
Ravikumar M L8-Mar-10 18:40
MemberRavikumar M L8-Mar-10 18:40 
GeneralRe: Great work.... Pin
fabianse14-Mar-10 14:22
Memberfabianse14-Mar-10 14:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.