Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Code Clinic: C#

with David Gassner

Video: Welcome

Explore solutions to common C# programming challenges, and compare the results with other programming languages, in the Code Clinic series.
Expand all | Collapse all
  1. 5m 52s
    1. Welcome
      1m 6s
    2. What you should know before starting this course
      1m 37s
    3. Using the exercise files
      2m 15s
    4. Getting the most from Code Clinic
  2. 45m 55s
    1. Introducing Lake Pend Oreille
      5m 43s
    2. Overview of my solution
      6m 59s
    3. Retrieving data from the lake's web service
      3m 58s
    4. Running the console application
      6m 31s
    5. Saving the data to a local cache
      3m 29s
    6. Calculating the aggregated statistics
      4m 49s
    7. Configuring the ASP.NET web service
      4m 44s
    8. Returning data in JSON format
      4m 21s
    9. Calculating statistics for a range of dates
      5m 21s
  3. 31m 38s
    1. Identify the image subset
      3m 31s
    2. Overview of my first solution
      3m 36s
    3. Selecting image files to compare
      3m 53s
    4. Comparing images with strict pixel matching
      7m 45s
    5. Overview of my second solution
      4m 32s
    6. Comparing images with AForge.Imaging
      8m 21s
  4. 24m 51s
    1. A classic CS interview question
      2m 11s
    2. Overview of my solution
      5m 3s
    3. Opening the solution in Visual Studio
      2m 15s
    4. Building the user interface
      2m 51s
    5. Calculating the 92 distinct solutions
      7m 46s
    6. Displaying the solutions
      4m 45s
  5. 27m 47s
    1. Building a musicial instrument using mouse movements
      1m 32s
    2. Overview of my solution
      5m 37s
    3. Playing system sounds
      3m 59s
    4. Playing an existing audio file
      7m 3s
    5. Creating sounds with the NAudio library
      9m 36s
  6. 27m 1s
    1. Recursing directories and gathering image data
      2m 53s
    2. Overview of my solution
      6m 18s
    3. Exploring the solution's dependencies
      4m 45s
    4. Browsing folders with Windows API Code Pack
      4m 30s
    5. Retrieving image data from JPG and PNG files
      6m 2s
    6. Displaying the results
      2m 33s
  7. 31m 1s
    1. Converting static web pages into ASP.NET web forms
      1m 51s
    2. Overview of my solution
      4m 22s
    3. Exploring the solution's files
      4m 41s
    4. Breaking down a web page into ASP.NET user controls
      6m 35s
    5. Modelling HTML markup with web form controls
      2m 30s
    6. Parsing data from CSV files
      6m 8s
    7. Adding data to HTML tables at runtime
      4m 54s

please wait ...
Code Clinic: C#
Video duration: 0s 3h 14m Intermediate Updated Dec 16, 2014


Many successful programmers know more than just a computer language. They also know how to think about solving problems. They use "computational thinking": breaking a problem down into segments that lend themselves to technical solutions. Code Clinic is a series of six courses where authors solve the same problems using different programming languages. Here, David Gassner works with C#.

David introduces challenges and then provides an overview of his solutions in C#. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.

Visit other courses in the series to see how to solve the exact same challenges in languages like C++, Java, PHP, Python, and Ruby.



Hello, and welcome to Code Clinic for C#. My name is David Gassner, and I'm excited to show you my solutions for the challenges proposed to the Code Clinic authors. In this monthly series, we'll explore creative and efficient ways to use C# to solve a range of problems. I'll describe some of the unique aspects of working with this language, and show you some tips on how to make your code run faster and be more reliable, as well as pointers on making it more readable.

If you search the library for Code Clinic, you'll find additional courses by different authors using other languages. Each Code Clinic author solves the exact same set of problems. So you can compare different solutions, as well as the pros and cons of each language. If you're looking for tips on better coding, or trying to decide on your next new programming language, you're going to love Code Clinic. So let's get started with Code Clinic for C#.

Find answers to the most frequently asked questions about Code Clinic: C# .

Expand all | Collapse all
please wait ...
Q: Why can't I access the Lake Pend Orielle site (

A: The Lake Pend Orielle site is not accessible in some geographical areas. We have contacted the owner of the server to try to resolve this issue.

Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for members outside of the U.S





Don't show this message again
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed Code Clinic: C#.

Return to your organization's learning portal to continue training, or close this page.


Upgrade to View Courses Offline


With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a Member and Create Custom Playlists

Join today and get unlimited access to the entire library of online learning video courses—and create as many playlists as you like.

Get started

Already a member?

Log in

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

You started this assessment previously and didn’t complete it.

You can pick up where you left off, or start over.

Resume Start over

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.