Disclosure: when you buy through links on our site, we may earn an affiliate commission.

Program a Media-Player in C#

Create a video and audio-player using C# and the Windows Presentation Foundation (WPF)
(48 reviews)
461 students
Created by


CourseMarks Score®







Platform: Udemy
Video: 2h 12m
Language: English
Next start: On Demand

Table of contents


In this course you will follow the development of a complete project from the ground up. It explains how to use design and code a WPF program in Visual Studio. You will end up with a utility that plays audio and video, controls playback volume, balance, position and speed.
In this course you will develop programs that do all the following:
•Play video and audio files•Load single media files or entire folders of files•Drag-and-drop files direct from the Windows Explorer•Create named playlists that can be saved and loaded to and from disk•Change the volume, position, speed and balance of a playing track•Use styles and effects to change the user interface appearance•Use Timers to respond to tick events•Use file dialogs to save and load files•Read and write structured XML files to and from disk•Create applications with multiple windows •Use Windows Shell functions to obtain file metadataThis is a project-based course that comes with all the source code ready-to-run. It provides a great way for C# programmer to move beyond the basics to explore the development of more complex  C# applications using the WPF (Windows Presentation Foundation).

You will learn

✓ Understand how to design using the WPF.
✓ Develop a functional and useful media-playing tool.
✓ Add styles and effects to controls
✓ Read and write XML data to and from disk
✓ Use Windows Shell functions to obtain file metadata
✓ Implement file drag-and-drop


• Visual Studio (free or commercial edition).
• Basic knowledge of C# programming (complete beginners should first study my ‘Learn C# Programming’ course)

This course is for

• Intermediate C# programmers looking for a project to extend their knowledge
• C# programmers who want to learn to use the Windows Presentation Foundation (WPF)
• Programmers wanting to understand how to play media, write XML data and query file metadata
Director of Technology, SapphireSteel Software
  Huw Collingbourne is the technology director at SapphireSteel Software, developers of programming tools for Microsoft Visual Studio. He is author of The Little Book Of C, The Little Book Of Pointers and The Little Book Of Recursion from Bitwise Books and of The Book Of Ruby from No Starch Press. He runs Bitwise Courses and teaches courses on a range of programming topics. 
     Huw has been a programmer for more than 30 years. He is a well-known technology writer in the UK. For over ten years he wrote the Delphi and Java programming column for PC Plus Magazine.  He has also written numerous opinion and programming columns (including tutorials on C#, C++, Smalltalk and Ruby) for a number of computer magazines, such as Computer Shopper, PC Pro, and PC Plus. 
     In the 1980s he was a pop music journalist and interviewed most of the New Romantic stars, such as Duran Duran, Spandau Ballet, Adam Ant, Boy George, and Depeche Mode. He is now writing a series of 1980s murder mysteries. 
     At various times Huw has been a magazine publisher, editor, and TV broadcaster. He has an MA in English from the University of Cambridge and holds a 2nd dan black belt in aikido, a martial art which he teaches in North Devon, UK. The aikido comes in useful when trying (usually unsuccessfully) to keep his Pyrenean Mountain Dogs under some semblance of control. 
Browse all courses by on Coursemarks.
Platform: Udemy
Video: 2h 12m
Language: English
Next start: On Demand

Students are also interested in