Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Code Clinic: C#

via LinkedIn Learning

Overview

Explore solutions to common C# programming challenges—and compare the results with other programming languages—in this installment of the Code Clinic series.

Syllabus

Introduction
  • Welcome
  • What you should know
  • Exercise files
  • Getting the most from Code Clinic
1. Problem 1: Pond Oreille
  • Intro: The weather at Pond Oreille
  • Solution overview
  • Explore the data with Excel
  • Explore the Visual Studio solution
  • Create a new TryParse method
  • Testing with sample data
  • Filter data using LINQ
  • Math.NET "linear" fit to find the slope
  • Data visualization with LiveCharts
  • Conclusion
2. Problem 2: Where Am I?
  • Intro: Where am I?
  • Solution overview
  • Using the GeoCoordinateWatcher
  • Sign up for Map Image REST API
  • Call the Map Image REST API
  • Conclusion
3. Problem 3: Eight Queens
  • Intro: Eight queens
  • Solution overview
  • Eight queens test cases
  • Check for attacks across rows
  • Check for attacks on diagonals
  • Find solutions with recursion
  • Debug recursive calls
  • Find all solutions
  • Check "found" solutions against "known"
  • Conclusion
4. Problem 4: Accessing Peripherals
  • Intro: Accessing peripherals
  • Solution overview
  • Create WinForms project with NAudio
  • Using class SignalGenerator
  • Experiment with TrackBar controls
  • Tracking MouseMove over a panel
  • Calculate relative mouse movement
  • Calculate changes in volume and frequency
  • Conclusion
5. Problem 5: Facial Recognition
  • Intro: Facial recognition
  • Solution overview
  • Create a prompt with arguments
  • Using the API URL and API key
  • Using class HttpWebRequest
  • Parse JSON response with JArray
  • Convert rectangles to polygons
  • Using SharpImage method DrawPolygon
  • Display output image
  • Conclusion
6. Problem 6: Real-Time Information Dashboard
  • Intro: Real-time information dashboard
  • Solution overview
  • NuGet and FactoryTelemetry
  • LiveCharts AngularGauge XAML
  • LiveCharts CartesianChart XAML
  • Configuring data binding
  • Load data into CharValues
  • Data binding gauge to property
  • X-axis label formatter
  • Set up for a dynamic x-axis
  • Calculating x-axis range dynamically
  • Adding multiple line series
  • Conclusion
Conclusion
  • Next steps

Taught by

Anton Delsink

Reviews

4.2 rating at LinkedIn Learning based on 65 ratings

Start your review of Code Clinic: C#

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.