O'Reilly logo

Multithreading with C# Cookbook - Second Edition by Eugene Agafonov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using a timer in a Universal Windows Platform application

This recipe shows you how to use a simple timer in Universal Windows Platform applications.

Getting ready

To go through this recipe, you will need Visual Studio 2015 and the Windows 10 operating system. No other prerequisites are required. The source code for this recipe can be found at BookSamples\Chapter11\Recipe1.

How to do it...

To understand how to use a timer in a Windows Store application, perform the following steps:

  1. Start Visual Studio 2015. Create a new C# Blank App (Universal Windows) project in the Windows\Universal folder.
    How to do it...
  2. If you are asked to enable developer mode for Windows 10, you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required