Click here to Skip to main content
Click here to Skip to main content

.NET Framework Basics - Preparation for exam 70-536

By , 11 Mar 2010
 

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.

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

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:

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

About the Author

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

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralMy vote of 5memberFaithcz29 Jan '13 - 21:24 
I have never seen anything like this before. Nice job!
GeneralRe: My vote of 5memberfabianse16 May '13 - 17:53 
Thanks, I glad it's useful =)
It is time to make an update, but... this things take so much time.
GeneralRe: My vote of 5memberFaithcz17 May '13 - 11:06 
Take your time and bring us something cool Smile | :)
QuestionTrying to Sit the 70-536 Currentlymembermakenthecase9 Jan '13 - 8:51 
If you had a blank form with just the buttons and tabs (a person would be able to work through each button and tab)...   That would be an excellent   study apparatus and have the completed one as a reference...   Still good work.   I'm currently attempting to get past this exam now... prior to 31JUL13 (expires)...   This is something I would purchase for this exam as well as others... seriously... I purchased both Selftest and measureUP... neither of them match the current 70-536 exam... they have 2 case studies now...  
 
Do you have an incomplete form (no code)...?
AnswerRe: Trying to Sit the 70-536 Currentlymemberfabianse12 Jan '13 - 22:21 
well, no, I don't have an incomplete form. But you can take the code and create a new form right?
Depending on your budget, I think a good idea is to go and give the exam, if you fail, just register for a new date, study more and go again.
Perseverance is key with these things.
GeneralRe: Trying to Sit the 70-536 Currentlymembermakenthecase12 Jan '13 - 23:18 
Thank you for your timely response.   I sat the exam this past Tuesday... and got a 95-98% on the on the Implementing Serialization and Input and Output functionality..   The rest was 60% and lower...   The exam has changed and SelftestSoftware as well as MeasureUP have not updated their exam to match the new exam...   Selftestsoftware exam as well as their Study guide is somewhat riddled with errors and typo's of which I'm sure was caught in the past and they (SelftestSoftware) didn't correct...   I'm going to give the exam another shot in about 3 weeks...   Thanks for the study tool...
GeneralRe: Trying to Sit the 70-536 Currentlymemberfabianse17 Jan '13 - 2:47 
Sounds you are in the right path Smile | :)
Failing in an exam is like a compiler error, you just need to debug and debug, and "play" again.
Here a nice graphic on how many times should we try things:
 
http://fundersandfounders.com/how-many-times-should-you-try/[^]
QuestionA Concise Article - Good one - Question on PDFmemberRak_i4 Jan '13 - 4:04 
Thanks for the Article. Its brief,concise and simple to absorb.
 
By any chance could you upload the pdf in a single page?
AnswerRe: A Concise Article - Good one - Question on PDFmemberfabianse12 Jan '13 - 22:23 
I don't have the original excel I made in I guess 2007 and never heard about a tool to put two join two pdf pages. But if I found something I will let you know.
 
Thanks
QuestionFantastic!memberCaRDiaK7 Dec '12 - 1:55 
Thank you for taking the time to make this.
 
I'm finally getting round to formalizing my knowledge and this has proved to be some fantastic support material.
 
Cheers!
CaRDiaK
Manchester-UK
AnswerRe: Fantastic!memberfabianse12 Jan '13 - 22:16 
I'm glad it was useful Smile | :)
Is a good idea to create cross-tables or some sort of infographic to help us understand how the languages were designed and what are they intended for.
GeneralMy vote of 4memberSaeid Pournejati23 Sep '12 - 14:33 
a good summarization for .Net basics.
QuestionAdding a Debugger.Break() callmemberTarek Elqusi24 May '12 - 3:09 
Thanks for this effort
To ease debugging I added a checkbox called chkDebug , and in envery click event method I added the following code
if (chkDebug.CheckState == CheckState.Checked) Debugger.Break();
This will help tracing while running the code
AnswerRe: Adding a Debugger.Break() callmemberfabianse8 Jun '12 - 13:29 
nice Smile | :)
I think it is time for me to update this code, not sure if codeproject supports something like github or similar for collaborative coding. I will check...
GeneralMy vote of 5mentorMd. Marufuzzaman1 Feb '12 - 3:45 
Excellent
GeneralRe: My vote of 5memberfabianse8 Jun '12 - 13:28 
I'm glad you liked it. I think it is being time of doing an update Big Grin | :-D I will think about it...
GeneralMy vote of 5membertssutha039 Dec '11 - 17:08 
It is awesome, I am just started to prepare for exam.
Really Helpful
GeneralRe: My vote of 5memberfabianse12 Jan '12 - 6:58 
I'm happy it is still useful. Is becoming time for the article to be updated Big Grin | :-D
GeneralBug: System.Collections.Generic.IList<string>' does not contain a definition for 'ToArray' | File : frmMain.cs | Line:2739memberMember 777468218 Apr '11 - 23:53 
I can't fix this bug.
Please help.Thank!
GeneralRe: Bug: System.Collections.Generic.IList' does not contain a definition for 'ToArray' | File : frmMain.cs | Line:2739 [modified]memberfabianse19 Apr '11 - 2:23 
Two simple solutions I imagine:
1) in project - Project - Application - Target framework choose .NET 3.5 or higher.
That should add the "toArray" extension method we need.
 

2) if you prefer to keep targeting framework 2, then change line 2739 of frmMain.cs to:
txtCollections.Text += Environment.NewLine + Environment.NewLine + "Values (CSV)= " + String.Join(",", new List<string>(gsl.Values).ToArray());
 
In any case be sure that all the "references" shown in project explorer are ok.
Let me know if this solves the problem, if not, please tell me which version of Visual Studio are you using, and which versions of .NET framework do you have installed and targeting.
 
Thanks
modified on Tuesday, April 19, 2011 8:29 AM

GeneralMy vote of 5memberEric Xue (brokensnow)6 Sep '10 - 17:50 
great effort to put together this app
GeneralRe: My vote of 5memberfabianse11 Sep '10 - 20:32 
merci! thanks! gracias! :P
GeneralMy vote of 5memberextdev2 Sep '10 - 5:08 
Good work and great effort. thanks.
GeneralRe: My vote of 5memberfabianse11 Sep '10 - 20:31 
merci! thanks! gracias! Smile | :)
GeneralGood workmemberPranay Rana20 Apr '10 - 18:41 
good one

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

Permalink | Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 11 Mar 2010
Article Copyright 2010 by fabianse
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid